get_gmail_messages_content_batch
Retrieve content from multiple Gmail messages in one batch request to process email data efficiently while managing connection limits.
Instructions
Retrieves the content of multiple Gmail messages in a single batch request. Supports up to 25 messages per batch to prevent SSL connection exhaustion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_ids | Yes | List of Gmail message IDs to retrieve (max 25 per batch). | |
| user_google_email | Yes | The user's Google email address. Required. | |
| format | No | Message format. "full" includes body, "metadata" only headers. | full |
| body_format | No | Body output format (only applies when format='full'). 'text' (default) returns plaintext (HTML converted to text as fallback). 'html' returns the raw HTML body as-is without conversion. 'raw' fetches the full raw MIME message and returns the base64url-decoded content. | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |