Create Mailbox
create_mailboxCreate a new mailbox folder in a specified account, supporting nested paths via parent_mailbox or slash-separated names. Use it to organize emails into folders, including nested structures.
Instructions
Create a new mailbox (folder) in the specified account.
Supports nested paths via the parent_mailbox parameter (e.g., parent_mailbox="Projects" + name="2024" creates Projects/2024). You can also pass a full slash-separated path as name (e.g., "Projects/2024/ClientName") and omit parent_mailbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new mailbox. May contain "/" to create a nested path in one call (each segment is created if needed). | |
| account | Yes | Account name (e.g., "Gmail", "Work") | |
| parent_mailbox | No | Optional existing parent folder for nesting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |