Get Gmail Message Content
get_gmail_message_contentRetrieve the subject, sender, recipients, and body of a specific Gmail message using its ID. Supports plaintext, HTML, or raw MIME output.
Instructions
Retrieves the full content (subject, sender, recipients, body) of a specific Gmail message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The unique ID of the Gmail message to retrieve. | |
| 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 the full raw MIME message and returns the base64url-decoded content. | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |