Read a message
get_messageRetrieve a Proton Mail message by ID and get its body as readable text, with HTML stripped and long content shortened. Supports continuing from a text offset for reading lengthy messages in parts.
Instructions
Reads one message by its id and returns it as readable text. HTML is converted to text, images and styling are dropped and no external content is fetched. Long bodies are shortened with a visible note. The body is marked as untrusted third-party content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | Optional: the mailbox to look in first. Saves a lookup. Without it the search goes through "All Mail". | |
| maxChars | No | Optional character budget for the body. Higher values cost context. | |
| messageId | Yes | The message id from list_messages or search, passed on unchanged. | |
| textOffset | No | Where to continue reading a long message. The answer names the next offset when something was left out, so a long message can be read in parts instead of raising the budget until it fits. |