message-get
Retrieve a Gmail message by its ID, selecting only needed fields and choosing plain text or HTML body. Optionally strip quoted thread history for cleaner reading.
Instructions
Get a Gmail message by ID with flexible field selection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gmail message ID to retrieve | |
| fields | No | Comma-separated fields to return. Omit for all fields. Available: id, threadId, subject, from, fromName, to, cc, bcc, date, snippet, body, isRead, isImportant, hasAttachments, attachmentCount, labelIds, folderName | |
| contentType | No | Format for body content: text extracts plain text, html preserves HTML structure | text |
| excludeThreadHistory | No | When true, removes quoted thread history from body content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |