Remove a label
remove_labelRemove a label from a Proton Mail message without moving it. Use dry run to preview before confirming.
Instructions
Take a label off a message. The message itself stays where it is. GATED: removing a label ends in an expunge against the label mailbox, so confirm it or preview with dry_run=true first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| label | Yes | The label to take off. On Proton the Labels/ prefix is optional. | |
| folder | No | Folder the message lives in, default INBOX. | |
| dry_run | No | Preview exactly what would happen and change nothing. Needs no confirmation. | |
| confirmed | No | ||
| uidvalidity | No | UIDVALIDITY reported alongside the uid. Pass it back so a mailbox resync cannot make this act on the wrong message. |