recipe-create-gmail-filter

Solid

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

AI & Automation 27,010 stars 1421 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
37
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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`

Details

Author
googleworkspace
Repository
googleworkspace/cli
Created
3 months ago
Last Updated
yesterday
Language
Rust
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category