Apply a label in bulk
bulk_apply_labelApply an existing label to multiple selected messages at once, leaving them in their current folder. Simplify bulk email organization by labeling many messages in a single operation.
Instructions
Apply one existing label to many messages. Messages stay where they are.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Explicit message uids. No wildcards. | |
| label | Yes | An existing label. On Proton the Labels/ prefix is optional; elsewhere this is an ordinary mailbox name. | |
| 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. |