Create Folder
create_folderCreates a new IMAP mailbox (folder or label) in Proton Mail via Bridge. Specify a unique path like Folders/Name or Labels/Name. Returns success after creation.
Instructions
Create one new IMAP mailbox. Use Folders/Name for a custom folder or Labels/Name for a label; the path must be unused across both namespaces. Use rename_folder to change an existing mailbox. Returns success after Proton Bridge accepts the create; create labels before adding them with move_to_label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). | |
| folderName | Yes | Folder path to create (e.g. Folders/Archive, Labels/Work) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| success | Yes | ||
| messageId | No |