recipe-forward-labeled-emails
Find Gmail messages with a specific label and forward them to another address.
How do I install this agent skill?
npx skills add https://github.com/googleworkspace/cli --skill recipe-forward-labeled-emailsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill describes a recipe to forward specific labeled Gmail messages using the Google Workspace CLI tool. It introduces an indirect prompt injection surface because it reads external untrusted content (emails) and passes it into a communication capability (sending emails) without delimiters or validation.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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]'`
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/googleworkspace/cli/recipe-forward-labeled-emails">View recipe-forward-labeled-emails on skillZs</a>