IMAP Enhanced icon

IMAP Enhanced

Enhanced IMAP node with custom labels, limit parameters, and structured email fields

Mailbox → Create

AI-generated

Summary

Create a mailbox on the IMAP server.

Inputs

  • authentication — Use credentials from this node or from an existing N8N IMAP Trigger node.
  • topLevelMailbox (required) — Whether the mailbox is a top level mailbox or a child mailbox.
  • mailboxName (required) — Name of the mailbox to create.
  • mailboxPath — Parent mailbox. Modes: List (select from mailbox list) or Path (full path format as returned by List Mailboxes operation).

Output shape

An array of results from the IMAP CREATE operation, one per input item, containing success status and mailbox details.

The execute method iterates over incoming workflow items, calls executeImapAction for each, and returns the collected results before logging out the IMAP connection.

Examples

Example 1: Create a top-level mailbox named 'Projects'.

Set authentication to imapThisNode, topLevelMailbox to true, and mailboxName to 'Projects'.

Example 2: Create a child mailbox 'Archive' inside 'INBOX'.

Set authentication to imapThisNode, topLevelMailbox to false, and mailboxPath to 'INBOX/Archive' (or select via List mode).

Discussion