Loading...
Loading...
Create a Gmail filter to automatically label, star, or categorize incoming messages.
npx skill4agent add googleworkspace/cli recipe-create-gmail-filterPREREQUISITE: Load the following skills to execute this recipe:gws-gmail
gws gmail users labels list --params '{"userId": "me"}' --format tablegws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'gws gmail users settings filters list --params '{"userId": "me"}' --format table