create_mailbox
Create a new mailbox (folder) to organize emails, returning the new mailbox ID. Supply a leaf name and optional parent folder to control placement.
Instructions
Create a new mailbox (folder). Returns the new mailbox ID. The caller is responsible for validating the name is appropriate (length, character set, parent-folder allow-list) before calling — JMAP itself only enforces uniqueness within a parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Leaf name of the new mailbox (not a full path). Must not contain "/". | |
| parentId | No | Parent mailbox ID. Pass null (or omit) to create at top level. |