create_mailbox
Create new mailboxes or folders in Apple Mail accounts to organize emails. Supports nested folders using parent-child relationships or slash-separated paths for efficient email management.
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.
Args: account: Account name (e.g., "Gmail", "Work") name: Name for the new mailbox. May contain "/" to create a nested path in one call (each segment is created if needed). parent_mailbox: Optional existing parent folder for nesting.
Returns: Confirmation with the new mailbox path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| name | Yes | ||
| parent_mailbox | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |