General
1,658 installs
Forward Labeled Gmail Messages
by googleworkspace/cli
Find Gmail messages with a specific label and forward them to another address.
Skill content
Locate Gmail messages by label and automatically forward them to another recipient.
- Requires the gws-gmail skill as a prerequisite dependency
- Three-step workflow: search messages by label, retrieve full message content, and forward to a specified email address
- Supports custom label queries and preserves original subject and body in forwarded messages
- Designed as a recipe for productivity automation within agent workflows
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 [email protected] --subject 'FW: [Original Subject]' --body 'Forwarding for your review:
[Original Message Body]'`