@googleworkspace/recipe-label-and-archive-emails
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
No skills found in this collection.
SKILL.md
| name | recipe-label-and-archive-emails |
| description | Apply Gmail labels to matching messages and archive them to keep your inbox clean. |
| metadata | gws |
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:[email protected]"}' --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"]}'
Loading...
Select a file to preview
Analyzing security...
Checking scan reports and verification data.
Bill of Materials
Everything this skill can do — files, network, commands, and more.
No demos yet. To add one, ask your AI agent: "Submit a demo for @googleworkspace/recipe-label-and-archive-emails" — or upload via the API.
To add a demo, ask your AI agent: "Submit a demo for @googleworkspace/recipe-label-and-archive-emails"
No eval data yet. Eval results are published via the SkillSafe API.