The example filter removes matching mail from the inbox beyond the stated labeling, starring, or categorization behavior
Source references: 2The filter action adds a label but also removes the `INBOX` label, automatically archiving new mail from the matching sender. The Skill description does not disclose that messages will leave the inbox.
Receipts, payment notices, or other important messages may no longer appear in the inbox, potentially causing the user to miss refund deadlines, payment problems, or required actions. The mail would ordinarily remain in the account but become less visible.
The stated purpose is to label, star, or categorize incoming mail, but the live filter-creation command also places `INBOX` in `removeLabelIds`. If a user adopts the example, matching mail from `receipts@example.com` will leave the inbox (be archived), reducing visibility and potentially causing missed messages. The user can ask the author to disclose this behavior and require that `INBOX` not be removed unless archiving is explicitly authorized.
name: recipe-create-gmail-filterdescription: "Create a Gmail filter to automatically label, star, or categorize incoming messages."metadata:Show 1 other places
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`