Actions12
Message → Move
AI-generatedSummary
Move specified messages from the current mailbox to a target mailbox using their UIDs.
Inputs
- mailbox — Source mailbox to move messages from (default: INBOX).
- uidList (required) — Comma-separated list of UIDs of messages to move.
- targetMailbox (required) — Target mailbox to move messages to.
Output shape
{ method: 'move' | 'copy-store-expunge', moved: number }
If the IMAP server supports the MOVE command, messages are moved directly. Otherwise, messages are copied to the target mailbox, marked as deleted in the source, and then expunged.
Examples
Example 1: Move messages 1, 5, and 10 from INBOX to [Gmail]/Important
Mailbox: INBOX, UID List: 1,5,10, Target Mailbox: [Gmail]/Important
