recipe-forward-labeled-emails

Forward Gmail messages with a specific label to another address.

8|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill recipe-forward-labeled-emails-niclasmartinsson-sys
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: recipe-forward-labeled-emails
Source: https://github.com/niclasmartinsson-sys/google-workspace-cli/tree/main/skills/recipe-forward-labeled-emails
Command: npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill recipe-forward-labeled-emails-niclasmartinsson-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This recipe helps automate the forwarding of Gmail messages that match a specific label, reducing manual triage and routing tasks to the right recipients.

Core Features & Use Cases

  • Label-based filtering: identify messages by Gmail label (e.g., needs-review, support) to target only relevant conversations.
  • Message retrieval and forwarding: fetch the message content and forward it to a chosen address with context.
  • Use Case: Imagine a high-volume support inbox where all escalated tickets labeled "needs-review" are automatically forwarded to the senior agent.

Quick Start

Forward all messages labeled needs-review to the designated recipient.

Frequently Asked Questions about recipe-forward-labeled-emails

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically forward Gmail messages based on a specific label?▼

You can automate Gmail message forwarding by using a recipe that filters your inbox for a specific label, retrieves the message content, and sends a new email to a designated recipient address, reducing manual triage for high-volume inboxes.

What is the best way to route escalated support tickets labeled needs-review in Gmail?▼

The best way to route escalated support tickets labeled needs-review in Gmail is to apply label-based email forwarding, which automatically identifies these specific conversations and forwards them directly to a senior agent or designated recipient.

Do I need gws and gws-gmail integration to set up label-based email forwarding?▼

Yes, setting up label-based email forwarding requires gws and gws-gmail integration along with appropriate Gmail authentication, ensuring the necessary commands run in sequence to fetch and send labeled messages securely.

Can I fetch message content and forward it to another address using Gmail label filtering?▼

Yes, you can fetch message content and forward it to another address using Gmail label filtering by running the required commands in sequence, which retrieves the labeled conversations and sends a new message with context to your recipient.

What are the limitations of using label-based filtering for Gmail message forwarding?▼

A limitation of using label-based filtering for Gmail message forwarding is that it requires strict Gmail authentication and sequential command execution through gws-gmail integration, meaning misconfigured labels or authentication failures can disrupt the automated routing workflow.