gmail_create_filter
Creates a Gmail filter to match incoming messages by sender, subject, size, or query and automatically apply actions like labeling or forwarding.
Instructions
Create a Gmail filter to automatically process incoming messages. Criteria define which messages match; actions define what happens to them. Requires settings scope and confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Actions to perform on matched messages | |
| confirm | Yes | Must be true to create the filter. This is a safety gate. | |
| criteria | Yes | Criteria for matching messages | |
| accountId | Yes | The Google account ID, alias, or email |