create_email_rule

Create a mailbox rule for incoming mail. Match on any of: sender_contains (from), to_contains (recipient), subject_contains — each a list; mail matching any value in a list matches. Then: folder = a folder/label name or id to move it into (created if the name is new), and/or mark_read=true to mark it read (false leaves it unread). apply_now=true also applies it to existing mail (Gmail only; Outlook rules affect new mail). Confirm the rule with the user before creating it. Optional provider/account.

Parameters

More Marketing tools · MCP quickstart