get_message
Retrieve a single email message by ID to read its body and attachment metadata; use PLAIN_TEXT to prevent context exhaustion, and get_thread for whole conversations.
Instructions
Retrieves a single email message by id, including body and attachment metadata. For whole conversations use get_thread. Use PLAIN_TEXT to prevent context exhaustion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | Message id from search_threads or get_thread. | |
| messageFormat | No | MINIMAL: subject, snippet, sender, recipients, date, labels. METADATA_ONLY: no subject/snippet/body. PLAIN_TEXT (recommended): MINIMAL + plaintextBody + attachments (HTML converted to text if needed). FULL_CONTENT (default): also htmlBody. RAW: raw MIME. |