Batch Update Messages
mailbox_batch_update_messagesBatch update email messages: mark as read, flag, set keywords, or move to folders after user confirmation.
Instructions
Use this to mark, flag, move to a folder, or set keywords/labels on multiple messages after the user has confirmed the desired change. Do not use it for read-only tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Message IDs to update, maximum 100. | |
| seen | No | Set or clear the seen flag. | |
| flagged | No | Set or clear the flagged marker. | |
| keywords | No | Map of message keyword names to booleans. `true` sets the keyword; `false` clears it. Keyword names are normalised to lowercase. Lifecycle keywords such as `$draft` are read-only. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| if_in_state | No | Optional message state token for stale-write protection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||