mail_get_thread
Reconstruct a mailbox-local email thread from a seed message, returning complete headers and optional body content. Bound the conversation by folder or message count to retrieve the full exchange context.
Instructions
Reconstruct a bounded mailbox-local conversation with complete per-message headers and the requested body mode. Embedded forwarded chains are not separate messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | A seed message used to resolve the mailbox-local conversationId. | |
| bodyMode | No | Message content to return: none omits body and preview, preview returns bodyPreview, and text/html returns body in the requested format. | preview |
| folderIds | No | Optional Graph folder IDs that bound thread reconstruction. | |
| maxMessages | No | Maximum messages reconstructed from the mailbox-local conversation. | |
| mailboxScope | No |