infomaniak_create_mailbox
Create a mailbox on a mail hosting using a two-phase commit: plan and receive a token, then apply with the token to finalize.
Instructions
Create a new mailbox on a mail hosting. Two-phase commit: plan + token first, then apply with token. The password never appears in the plan output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mail_hosting_id | Yes | Mail hosting ID. Discover via infomaniak_list_mail_hostings. | |
| mailbox_name | Yes | Local part of the mailbox WITHOUT the @domain (e.g. 'info', NOT 'info@example.com'). Lowercase alphanumeric with dots, underscores or dashes; 1-64 chars. | |
| password | Yes | Initial mailbox password. Infomaniak policy: ≥ 8 chars, at least one lowercase, one uppercase, one digit and one special character. NEVER appears in the plan response — only in the apply call. | |
| description | No | Optional free-text description (≤ 255 chars), shown in the manager UI. | |
| confirmation_token | No | Token from the prior plan response. Required on the apply phase only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||