IMAP Fork icon

IMAP Fork

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

Email → Move

AI-generated

Summary

Moves one or more emails from a source mailbox to a destination mailbox.

Inputs

  • sourceMailbox (required) — Select the source mailbox from which to move emails.
  • emailUid — UID of the email to move. Can use a comma-separated list to move multiple emails at once.
  • destinationMailbox (required) — Select the destination mailbox to which emails will be moved.

Output shape

A single record containing the server's response for the move operation.

The operation returns data from the IMAP server (e.g., the destination UID) but does not return the moved emails themselves.

Examples

Example 1: Move a single email from the Inbox to the Archive folder

Source: INBOX, Destination: Archive, UID: 12345

Example 2: Move multiple emails at once from a specific folder to Trash

Source: Project/Emails, Destination: Trash, UID: 101,102,103

Links

Discussion