recipe-label-and-archive-emails

recipe-label-and-archive-emails

Popular

Apply Gmail labels to matching messages and archive them to keep your inbox clean.

27Kstars
0forks
Updated 3/31/2026
SKILL.md
readonlyread-only
name
recipe-label-and-archive-emails
description

"Apply Gmail labels to matching messages and archive them to keep your inbox clean."

version
0.22.5

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"]}'

You Might Also Like

Related Skills

revops

revops

34Kproductivity

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.

coreyhaines31 avatarcoreyhaines31
Get

Create recurring focus time blocks on Google Calendar to protect deep work hours.

googleworkspace avatargoogleworkspace
Get

Set up a new Google Tasks list with initial tasks.

googleworkspace avatargoogleworkspace
Get

Share a Google Docs document with edit access and email collaborators the link.

googleworkspace avatargoogleworkspace
Get

Create a recurring Google Calendar event with attendees.

googleworkspace avatargoogleworkspace
Get

Identify large Google Drive files consuming storage quota.

googleworkspace avatargoogleworkspace
Get