Actions13
Mailbox → Create
AI-generatedOverview
This node operation creates a new mailbox in an IMAP email account. It supports creating either a top-level mailbox or a child mailbox under a specified parent mailbox. This is useful for organizing email folders programmatically, such as setting up new folders for categorizing incoming emails or managing mailbox structure automatically.
Use Case Examples
- Creating a new top-level mailbox named 'Projects' to organize project-related emails.
- Creating a child mailbox named 'Invoices' under the 'Finance' mailbox to separate invoice emails.
Properties
| Name | Meaning |
|---|---|
| Credential Type | Selects which IMAP credentials to use for authentication, either credentials from this node or from an existing N8N IMAP Trigger node. |
| Top Level Mailbox | Boolean flag indicating whether the mailbox to create is a top-level mailbox or a child mailbox. |
| Mailbox | Specifies the parent mailbox path when creating a child mailbox. Not required for top-level mailboxes. |
| Mailbox Name | The name of the mailbox to create. |
Output
JSON
json- The created mailbox details or status information returned from the IMAP server after mailbox creation.
Dependencies
- Requires IMAP credentials either from this node or from an existing N8N IMAP Trigger node for authentication.
Troubleshooting
- Connection failures due to incorrect IMAP credentials or network issues. Verify credentials and network connectivity.
- Errors indicating unknown operations or resources if the resource or operation parameters are misconfigured.
- Mailbox creation failures if the mailbox name is invalid or the user lacks permissions on the IMAP server.