Get Message
get_messageRetrieve a message by its ID. Control body size with full, truncated, or preview formats, and optionally convert HTML to plain text.
Instructions
Gets a single message by ID with full body content. Supports body processing options to manage size.
Body format options:
full: Returns complete body (may be large for HTML emails)
truncated: Truncates body to max_body_length (default)
preview: Returns first 500 characters only
Use strip_html=true (default) to convert HTML to plain text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The message ID to retrieve | |
| body_format | No | How to process the message body | truncated |
| strip_html | No | Convert HTML body to plain text | |
| max_body_length | No | Maximum body length for truncated format |