recipe-create-gmail-filter

Create a Gmail filter to automatically label, star, or categorize incoming messages.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "recipe-create-gmail-filter" with this command: npx skills add googleworkspace/cli/googleworkspace-cli-recipe-create-gmail-filter

Create a Gmail Filter

PREREQUISITE: Load the following skills to execute this recipe: gws-gmail

Create a Gmail filter to automatically label, star, or categorize incoming messages.

Steps

  1. List existing labels: gws gmail users labels list --params '{"userId": "me"}' --format table
  2. Create a new label: gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'
  3. Create a filter: gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'
  4. Verify filter: gws gmail users settings filters list --params '{"userId": "me"}' --format table

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

gws-gmail

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gws-drive

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gws-calendar

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gws-docs

No summary provided by upstream source.

Repository SourceNeeds Review