Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/CLI & Terminal
googleworkspace avatar

Recipe Label And Archive Emails

googleworkspace/cliOfficial

This is a Gmail automation recipe that searches for emails matching your criteria, slaps a label on them, and archives them in one go. You'd use this to automatically organize recurring emails like notifications, newsletters, or automated reports without manually sorting through your inbox. It's essentially a poor man's Gmail filter built with command-line tools. The three-step process is straightforward: search with a Gmail query, apply your chosen label, then remove the INBOX label to archive. Works well for bulk cleanup operations or when you need more complex matching logic than Gmail's built-in filters provide.

installs
30.5K
GitHub stars
31.9K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add googleworkspace/cli --skill recipe-label-and-archive-emails --agent claude-code

Installs into .claude/skills of the current project.

Files

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

  1. Search for matching emails: gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --format table
  2. Apply a label: gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}'
  3. Archive (remove from inbox): gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
  • Recipe Save Email To Doc30.5K
  • Recipe Block Focus Time30.4K
  • Recipe Watch Drive Changes30.4K
  • Recipe Create Shared Drive30.4K
  • Persona Team Lead30.4K
  • Recipe Share Doc And Notify30.3K
  • Recipe Find Large Files30.3K
  • Recipe Create Task List30.3K
  • Recipe Schedule Recurring Event30.3K
  • Recipe Review Overdue Tasks30.3K
  • Recipe Copy Sheet For New Month30.2K
  • Recipe Batch Invite To Event30.2K
  • Recipe Review Meet Participants30.2K
  • Recipe Collect Form Responses30.2K
  • Recipe Create Events From Sheet30.2K
  • Persona It Admin30.1K
  • Recipe Create Vacation Responder30.1K
  • Recipe Share Folder With Team30.1K
  • Recipe Forward Labeled Emails30.1K
  • Persona Customer Support30.1K
  • Persona Event Coordinator30.1K
  • Persona Sales Ops30K
  • Gws Modelarmor30K
  • Recipe Create Meet Space30K

Recommended

More CLI & Terminal
1googleworkspace avatarrecipe-save-email-to-docgoogleworkspace/cliSave a Gmail message body into a Google Doc for archival or reference.30.5Kinstalls
2googleworkspace avatarrecipe-block-focus-timegoogleworkspace/cliCreate recurring focus time blocks on Google Calendar to protect deep work hours.30.4Kinstalls
3googleworkspace avatarrecipe-watch-drive-changesgoogleworkspace/cliSubscribe to change notifications on a Google Drive file or folder.30.4Kinstalls
4googleworkspace avatarrecipe-create-shared-drivegoogleworkspace/cliCreate a Google Shared Drive and add members with appropriate roles.30.4Kinstalls
5googleworkspace avatarpersona-team-leadgoogleworkspace/cliLead a team — run standups, coordinate tasks, and communicate.30.4Kinstalls
6googleworkspace avatarrecipe-share-doc-and-notifygoogleworkspace/cliShare a Google Docs document with edit access and email collaborators the link.30.3Kinstalls