googleworkspace/cli21k installs
recipe-label-and-archive-emails
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
How do I install this agent skill?
npx skills add https://github.com/googleworkspace/cli --skill recipe-label-and-archive-emailsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a recipe for managing Gmail emails using the googleworkspace 'gws' tool. It includes instructions for listing, labeling, and archiving messages. No security issues were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Label and Archive Gmail Threads
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
Steps
- Search for matching emails:
gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --format table - Apply a label:
gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}' - Archive (remove from inbox):
gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'
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-label-and-archive-emails">View recipe-label-and-archive-emails on skillZs</a>