move_message
Move an email to another folder in the same mailbox. This action is immediate, reversible, and audited, helping you organize messages without approval.
Instructions
Move a message to another folder of the same account. Returns {success}. Reversible (move it back), executed immediately without approval, audited. Note: on IMAP the message gets a new UID in the destination folder, so the old message_id stops being valid. To delete a message use delete_message (which requires approval).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | Destination folder: id (Graph) or name (IMAP) from list_folders. | |
| account_id | No | Account to operate on (integer id from list_accounts). Omit or null = the user's active account. | |
| message_id | Yes | Message id exactly as returned by list_messages / list_unread / search_mail (opaque Graph id for Microsoft accounts, numeric IMAP UID for IMAP accounts). Ids are account-specific: never reuse one across accounts. | |
| source_folder | No | Folder the message is currently in (IMAP only; empty = inbox). |