Recipe Forward Labeled Emails
Google WorkspaceOfficialPublished by Google Workspace
- Skill
- Workflow
- Automation and integrations
- Apache-2.0
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This workflow automates the process of identifying emails within Gmail that carry a specific label and forwarding them to a target email address. It leverages existing Gmail integration tools to list, retrieve, and resend message content, streamlining email management and review processes.
What it does
- Searches for Gmail messages associated with a specific label.
- Retrieves the full content of identified email messages.
- Constructs and sends a new email containing the original message details.
- Automates the forwarding process for efficient email routing.
When to use it
- When you need to route specific categories of emails to a manager or external stakeholder.
- To automate the triage of emails that require manual review.
- When managing high volumes of labeled correspondence that must be forwarded consistently.
Advantages
- Reduces manual effort in sorting and forwarding emails.
- Ensures consistent handling of labeled messages.
- Integrates directly with existing Gmail messaging workflows.
Usage examples
- “Forward all emails labeled needs-review to my manager.”
- The agent identifies all messages with the specified label, retrieves their content, and sends them to the designated manager address.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/googleworkspace/recipe-forward-labeled-emails/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip recipe-forward-labeled-emails.zip -d .agents/skills
Documentation by Google Workspace
Forward Labeled Gmail Messages
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Find Gmail messages with a specific label and forward them to another address.
Steps
Find labeled messages:
gws gmail users messages list --params '{"userId": "me", "q": "label:needs-review"}' --format tableGet message content:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'Forward via new email: `gws gmail +send --to [email protected] --subject 'FW: [Original Subject]' --body 'Forwarding for your review:
[Original Message Body]'`
Files
- ATTRIBUTION.mdAdded by AutoGineer920 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md904 B
SKILL.md
Forward Labeled Gmail Messages
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Find Gmail messages with a specific label and forward them to another address.
Steps
Find labeled messages:
gws gmail users messages list --params '{"userId": "me", "q": "label:needs-review"}' --format tableGet message content:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'Forward via new email: `gws gmail +send --to [email protected] --subject 'FW: [Original Subject]' --body 'Forwarding for your review:
[Original Message Body]'`
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Google Workspace
- Publisher
- Google Workspace (Official)
- Source
- googleworkspace/cli · skills/recipe-forward-labeled-emails · commit cd3697e
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google Workspace or Google Workspace.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download recipe-forward-labeled-emails.zip