recipe-create-gmail-filter
Originally fromgoogleworkspace/cli
Installation
SKILL.md
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
- List existing labels:
gws gmail users labels list --params '{"userId": "me"}' --format table - Create a new label:
gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}' - Create a filter:
gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}' - Verify filter:
gws gmail users settings filters list --params '{"userId": "me"}' --format table
Related skills
More from wadewarren/gws-claude-plugin
gws-tasks
Google Tasks: Manage task lists and tasks.
14gws-workflow
Google Workflow: Cross-service productivity workflows.
13gws-gmail-triage
Gmail: Show unread inbox summary (sender, subject, date).
13persona-content-creator
Create, organize, and distribute content across Workspace.
13gws-gmail-forward
Gmail: Forward a message to new recipients.
12gws-calendar-agenda
Google Calendar: Show upcoming events across all calendars.
12