bulk_trash
Move multiple emails to trash by mailbox, sender substring, or both. Avoid moving each message individually.
Instructions
Move multiple messages to trash in one call — by mailbox, sender substring, or both. Far faster than calling trash_email per message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Substring to match against the sender field. At least one of mailbox or from is required. | |
| account | No | Restrict to this account name. | |
| mailbox | No | Restrict to this exact mailbox name. At least one of mailbox or from is required. |