Gmail Get Message
gmail_get_messageFetch full email details by message ID. Returns headers, subject, body text, sender, recipients, attachments, and applied labels.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "18c1b1f187221e2d"
},
"name": "gmail_get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the returned message (default: full) | |
| message_id | Yes | The ID of the message to retrieve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Message ID | |
| error | No | Error code if connection not authenticated | |
| message | No | Error message if connection not authenticated | |
| payload | No | Message structure and content | |
| snippet | No | Short plain text snippet of message body | |
| labelIds | No | Applied label IDs | |
| threadId | No | Thread ID | |
| historyId | No | History ID of message | |
| internalDate | No | Internal date timestamp in milliseconds | |
| sizeEstimate | No | Estimated message size in bytes |