Actions12
Message → Copy
AI-generatedSummary
Copies messages from a source mailbox to a target mailbox using their UIDs.
Inputs
- mailbox — Source mailbox name. Defaults to INBOX. Extracted from node properties and source: used as the origin mailbox before copy operation.
- uidList (required) — Comma-separated list of message UIDs to copy. Node source validates non-empty; empty list throws 'uidList is required'. Extracted from properties and source parseUidList behavior.
- targetMailbox (required) — Target mailbox where messages will be copied. Shown in properties for operation 'copy'; passed directly to IMAP copy command.
Output shape
{ copied: number }
Returned by the IMAP client's messageCopy method after successfully copying the specified UIDs. Indicates the count of messages copied.
Examples
Example 1: Copy messages 1, 5, 12 from INBOX to 'Archive'
mailbox: INBOX, uidList: '1,5,12', targetMailbox: 'Archive' → returns { copied: 3 }
