get_gmail_threads_content_batch
Retrieve content from multiple Gmail threads in one batch request, handling up to 25 threads to manage connection limits.
Instructions
Retrieves the content of multiple Gmail threads in a single batch request. Supports up to 25 threads per batch to prevent SSL connection exhaustion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_ids | Yes | A list of Gmail thread IDs to retrieve. The function will automatically batch requests in chunks of 25. | |
| user_google_email | Yes | The user's Google email address. Required. | |
| 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 |