Home/AI Productivity & Automation/recipe-create-gmail-filter
R

recipe-create-gmail-filter

by @googleworkspacev
4.5(156)

Can create Gmail filters to automatically label, star, or categorize emails, effectively managing the inbox and improving work efficiency.

gmail-filtersemail-automationinbox-managementgoogle-workspace-cliproductivity-recipesGitHub
Installation
npx skills add googleworkspace/cli --skill recipe-create-gmail-filter
compare_arrows

Before / After Comparison

1
Before

In the past, users had to manually process a large influx of Gmail emails, one by one, marking, starring, or classifying them. This consumed a significant amount of time and effort, often leading to important emails being overlooked, a cluttered inbox, and low work efficiency.

After

By creating Gmail filters, emails can be automatically marked, starred, or classified according to preset rules. This greatly simplifies email management, keeps the inbox tidy, ensures important emails are not overlooked, and significantly boosts the work efficiency of individuals and teams.

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

  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

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs15.4K
Rating4.5 / 5.0
Version
Updated2026年5月23日
Comparisons1

User Rating

4.5(156)
5
23%
4
52%
3
23%
2
2%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月16日
Last Updated2026年5月23日