recipe-create-gmail-filter
Can create Gmail filters to automatically label, star, or categorize emails, effectively managing the inbox and improving work efficiency.
npx skills add googleworkspace/cli --skill recipe-create-gmail-filterBefore / After Comparison
1 组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.
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.
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
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill