move_message
Move an email message to a specified destination folder such as Archive, Trash, or Spam. Provide the message UID and source folder.
Instructions
Move an email message to a different folder. Note: the message gets a new UID in the destination folder — the original UID is no longer valid after the move.
UID + folder pair caveat: IMAP UIDs are per-folder, so UID 42 in INBOX and UID 42 in Sent identify different messages. Always carry the folder a UID came from; never reuse a UID across folders. For thread-level operations on messages you only know by Message-ID, prefer get_thread / move_thread which sidestep this footgun.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message UID (use list_messages or search_messages to find UIDs) | |
| folder | No | Source folder (default: INBOX) | INBOX |
| destination | Yes | Destination folder path (e.g. Archive, Trash, Spam) |