rename_label
Rename a Proton label to a new name, keeping all assigned messages under the updated label. Change label names without affecting message organization.
Instructions
Rename a Proton label (IMAP folder under Labels/ namespace). Messages keep the label, just under the new name. For renaming a folder use rename_folder with a Folders/ prefix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Existing label name. The Labels/ prefix is optional and will be added automatically. | |
| newName | Yes | New label name. The Labels/ prefix is optional and will be added automatically. |