recipe-create-gmail-filter
SolidCreate a Gmail filter to automatically label, star, or categorize incoming messages.
AI & Automation 32,385 stars
1999 forks Updated 2 weeks ago Apache-2.0
Install
Quality Score: 92/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
- 8 months ago
- Last Updated
- 2 weeks ago
- Language
- Rust
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
recipe-label-and-archive-emails
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
32,385 Updated 2 weeks ago
googleworkspace AI & Automation Solid
recipe-forward-labeled-emails
Find Gmail messages with a specific label and forward them to another address.
32,385 Updated 2 weeks ago
googleworkspace AI & Automation Listed
gmail
Manage Gmail end-to-end — send, reply, search, drafts, labels, attachments, and inbox organization. Use when the user wants to send or reply to email, clean up an inbox, build label systems, manage drafts, or pull attachments.
115 Updated 1 weeks ago
hyperfx-ai