Mark messages in bulk
bulk_markApply read, unread, star, or unstar actions to multiple messages in a single pass, cutting API calls. Preview changes using dry run mode.
Instructions
Mark many messages read/unread/starred in one pass. Far cheaper than one call per message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Explicit message uids. No wildcards. | |
| action | Yes | ||
| folder | No | Folder the uids belong to. Default INBOX. | |
| dry_run | No | Preview which uids would be affected, change nothing. | |
| uidvalidity | No | UIDVALIDITY for that folder; refuses on mismatch. |