get_email_by_id
Fetch a full email using the composite ID returned by prior search results. Read its body, headers, and security metadata to verify legitimacy and triage phishing threats.
Instructions
Fetch the full content of a single email using a composite emailId. Use after get_emails or search_emails to read a specific message in full. The emailId format is FOLDER::UID — always use the id returned by a prior tool call; do not construct it manually. Response includes a security block (dkim/spf/dmarc pass-fail, Proton's spam score/action, and encryption metadata) for phishing/legitimacy triage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | Composite email id from previous tool output. | |
| preferHtml | No | Return raw HTML body instead of plain-text stripped version. | |
| showHeaders | No | Include the full raw header map (from/to/content-type/dkim-signature/list/received/...) in the response. Off by default to avoid token bloat — turn on only when you need a specific header not already surfaced elsewhere (e.g. list.unsubscribe). | |
| maxBodyLength | No | Truncate body at this many characters (1–500000). |