move_thread
Move all messages in a thread to a specified folder using the thread's RFC 5322 Message-ID. Resolve conversation threading across folders with an optional search across Sent and All Mail.
Instructions
Move all messages in a thread to a destination folder, identified by its RFC 5322 Message-ID header. Use when you have the raw Message-ID (e.g. from email headers) and want to move the full conversation. Prefer apply_thread_action with action 'move' when you have a local threadId from get_threads or get_actionable_threads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| messageId | Yes | RFC 5322 Message-ID, e.g. <abc@mail.example.com>. | |
| destination | Yes | Destination folder. | |
| acrossFolders | No | Also search Sent and All Mail. |