create_mailbox
Create one mailbox/folder by its exact server name, including the hierarchy delimiter reported by list_mailboxes (for example 'Archive/Projects' or 'INBOX.Projects'). Requires the organize permission.
Instructions
Create one mailbox/folder by its exact server name, including the hierarchy delimiter reported by list_mailboxes (for example 'Archive/Projects' or 'INBOX.Projects'). Requires the organize permission. Idempotent: an existing mailbox reports already_exists without changes. Parent levels are created only if the server does so itself. An unknown status is not retried automatically; verify with list_mailboxes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Exact mailbox name to create; must not contain the LIST wildcards '*' or '%' or end with the server's hierarchy delimiter. | |
| account_name | Yes | The name of the email account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | created: CREATE succeeded; already_exists: no change; unknown: the effect may have happened. | |
| mailbox | Yes | The exact mailbox name that was requested. | |
| reconciliation_needed | Yes | True when status is unknown; verify with list_mailboxes before retrying. |