get_gmail_thread_content
Retrieve all messages in a Gmail thread, including replies and forwarded content, to view the complete conversation history.
Instructions
Retrieve every message in one Gmail conversation thread.
Use this when you need the whole back-and-forth (replies, forwards, quoted history) — for a single standalone message use get_gmail_message_content. For many threads at once use get_gmail_threads_content_batch. Requires the gmail.readonly OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | Gmail thread ID, typically the "threadId" field returned by search_gmail_messages or any message-get response. | |
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| body_format | No | Body output format. 'text' (default) returns plaintext (HTML converted to text as fallback). 'html' returns the raw HTML body as-is without conversion. 'raw' fetches each message's full raw MIME content and returns the base64url-decoded body. | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |