Move Email
AI-generatedSummary
Move an email from a specified source mailbox folder to another mailbox folder by providing the email's unique UID.
Inputs
- Source Mailbox (required) — The name of the mailbox folder where the email currently resides (default: 'INBOX').
- Email UID (required) — The unique identifier (UID) of the email to move within the source mailbox.
- Destination Mailbox (required) — The mailbox folder to which the email will be moved.
- Options — Optional connection and protocol settings such as timeouts, debug logging, TLS behavior, authentication method, retry count, and delays.
Output shape
a single JSON object confirming success status and move details
The output JSON includes 'success' (boolean), 'moved' (boolean indicating if the move succeeded), and if available, details like 'path', 'destination', and 'uidMap' from the IMAP server response.
Examples
Example 1: Move a specific email by UID from the 'INBOX' folder to the 'Archive' folder.
Set 'Source Mailbox' to 'INBOX', 'Email UID' to the target email's UID, and 'Destination Mailbox' to 'Archive'. Optionally adjust connection options for reliability or logging.