bulk_action
Perform bulk operations on multiple emails by UID list: mark as read/unread, flag, unflag, move, or delete. Handles up to 100 IDs per call and returns success/failure counts.
Instructions
Batch operation on multiple emails by UID list. Supports mark_read, mark_unread, flag, unflag, move, and delete. Max 100 IDs per call. Returns success/failure counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of email UIDs (max 100). Get UIDs from list_emails or search_emails. | |
| action | Yes | Bulk action to perform | |
| account | Yes | Account name from list_accounts | |
| mailbox | No | Source mailbox containing the emails | INBOX |
| destination | No | Destination mailbox — required when action is 'move' |