IMAP icon

IMAP

Retrieve emails via IMAP

Mailbox → Rename

AI-generated

Summary

Renames the selected IMAP mailbox to the supplied new name and returns the IMAP server’s response as an n8n item.

Inputs

  • Credential Type (required) — Choose this node’s IMAP credentials or credentials from an n8n IMAP Trigger node.
  • Mailbox (required) — Select the mailbox to rename from the mailbox list, or enter its full path. Defaults to INBOX.
  • New Mailbox Name (required) — The new mailbox name to pass to the IMAP server.

Output shape

A single item containing the IMAP server response in its JSON field.

If the server response cannot be serialized, the operation may fail. With Continue On Fail enabled, errors are returned as an item with an error field.

Examples

Example 1: Rename a mailbox

Select the existing mailbox path and enter its new name.

Links

Discussion