recipe-forward-labeled-emails
What it does
This tool finds and forwards emails from your Gmail that have a specific label to another email address. It's like organizing your inbox and automatically sending copies of important emails.
When to use it
- ✓When you want to send all emails with the 'urgent' label to your boss.
- ✓To forward customer emails with the 'support' label to the service team.
- ✓When you want to save copies of emails with the 'invoices' label to another account.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/recipe-forward-labeled-emails/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Forward all emails with the 'review' label to my manager.”
5 new skills a week. 1 minute to read.
How it works
The tool first searches your Gmail for emails with the label you specify. Then, it takes the content of those emails and sends them as a new email to the address you choose.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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 table - Get message content:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}' - Forward via new email: `gws gmail +send --to manager@company.com --subject 'FW: [Original Subject]' --body 'Forwarding for your review:
[Original Message Body]'`
FAQ
Do I need to install anything else?
Yes, you need to have the 'gws-gmail' skill loaded for this one to work.
Can I choose where the emails are forwarded?
Yes, you provide the destination email address when using the tool.
Can I choose which label to use?
Yes, you specify the label the tool should look for in your Gmail.
Details
Original description by the author
Find Gmail messages with a specific label and forward them to another address.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #9228
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.