Apply a label in bulk
bulk_apply_labelApply one existing label to many messages at once without moving them from their current folders. Batch-organize Proton Mail by specifying message UIDs and the target label.
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. |