create_mailbox
Create a new mailbox folder by providing a leaf name and optional parent ID. Returns the new mailbox ID.
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. |