
recipe-forward-labeled-emails
โ Officialโ 29,425by Google ยท part of googleworkspace/cli
Find Gmail messages with a specific label and forward them to another address.
๐ฅ๐ฅโ VerifiedFreeQuick setup
๐งฐ Not standalone. This skill ships with googleworkspace/cli and only works together with that tool โ install the tool first, then add this skill.
This is the playbook your agent receives when the skill activates โ you don't need to read it to use the skill, but it's here to audit before installing.
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]'`
Copy & paste โ that's it
npx skills add googleworkspace/cli --skill "recipe-forward-labeled-emails" --full-depthRun this in your project โ your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under Apache-2.0โ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ