Creates Gmail filters to automatically label, star, or categorize incoming messages using gws CLI. Steps include label creation and filter verification.
From google-workspacenpx claudepluginhub grailautomation/claude-plugins --plugin google-workspaceThis skill uses the workspace's default tool permissions.
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Create a Gmail filter to automatically label, star, or categorize incoming messages.
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