IMAP icon

IMAP

Retrieve emails via IMAP

Email → Move

AI-generated

Summary

Move one or more emails by UID from a source mailbox to a destination mailbox using IMAP. The node opens the source mailbox for writing and returns the server’s move response.

Inputs

  • Credential Type (required) — Choose this node’s IMAP credentials or credentials from the n8n IMAP Trigger node.
  • Source Mailbox (required) — Mailbox containing the email. Select it from the mailbox list or enter its full path; defaults to INBOX.
  • Email UID — UID of the email to move. Enter comma-separated UIDs to move multiple emails.
  • Destination Mailbox (required) — Mailbox to move the email to. Select it from the mailbox list or enter its full path; defaults to INBOX.

Output shape

A list containing one n8n item with the IMAP server’s move response in its json field.

If the move fails, the operation raises an error; with Continue On Fail enabled, n8n can emit an error item instead.

Links

Discussion