create_label
Create a Proton label as an IMAP folder under the Labels namespace. Safe to call repeatedly if the label already exists.
Instructions
Create a Proton label (IMAP folder under Labels/ namespace). Idempotent — safe to call if the label may already exist. For folder creation use create_folder with a Folders/ prefix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name. The Labels/ prefix is optional and will be added automatically. |