recipe-create-gmail-filter
Create a Gmail filter to automatically label, star, or categorize incoming messages.
Install
npx skills add https://github.com/googleworkspace/cli --skill recipe-create-gmail-filterSKILL.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
grill-memattpocock1.2MA relentless interview to sharpen a plan or design.grill-with-docsmattpocock1.1MA relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.triagemattpocock854KMove issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.grillingmattpocock792KGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.