move_thread
Move an entire email thread to a specified folder, optionally across multiple folders like INBOX and Sent, with a dry-run preview mode.
Instructions
Move every message in a thread to a destination folder. By default acts only in the seed message's folder; pass acrossFolders:true to walk INBOX/Sent/All Mail. dryRun:true previews the affected per-folder UIDs without moving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | RFC 5322 Message-ID of any message in the thread (e.g. `<abc@example.com>`); the whole reply chain is resolved from it. | |
| destination | Yes | Destination folder path to move the entire thread into (must already exist). | |
| acrossFolders | No | When false (default), act only within the seed message's folder. When true, walk INBOX + Sent + All Mail so the whole conversation moves across folders. | |
| dryRun | No | When true, preview the affected per-folder UIDs without moving anything. |