IMAP Fork icon

IMAP Fork

Retrieve emails via IMAP using the n8n-nodes-imap-fork-test package

Mailbox → Create

AI-generated

Summary

Creates a new mailbox folder on the connected IMAP server.

Inputs

  • topLevelMailbox (required) — Whether the mailbox is a top-level folder or a subfolder.
  • mailboxPath — Parent mailbox path (visible only when 'Top Level Mailbox' is false).
  • mailboxName (required) — Name of the new mailbox to create.

Output shape

a single record containing the server's response to the creation request

The returned object includes metadata about the created mailbox; the operation succeeds even if the response is empty.

Examples

Example 1: Create a top-level folder named 'Projects' in the root directory.

Set 'Top Level Mailbox' to true, 'Mailbox Name' to 'Projects', and leave 'Mailbox Path' empty.

Example 2: Create a subfolder '2024' inside an existing 'Archive' folder.

Set 'Top Level Mailbox' to false, 'Mailbox Path' to 'Archive', and 'Mailbox Name' to '2024'.

Links

Discussion