Move emails to another folder
move_emailMove messages from one IMAP folder to another. Flags and the original dates are preserved. All the messages must be in the SAME source folder and go to the SAME destination - to file into several folders, make one call per destination. Filing a backlog is what this tool is for: pass every UID in one call rather than calling it once per message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination folder name. | |
| from | No | Source folder name. Defaults to INBOX. | |
| uids | Yes | The UIDs to act on, from list_emails or search_emails. Pass EVERY message you want changed in ONE call - this tool acts on the whole set in a single operation, and doing it that way costs the user one call instead of one per message. Up to 500 at a time. A single message is simply a one-element array. |