read_email
Retrieve a specific email by message ID and folder to extract receipt data, including date, sender, subject, body, and attachment names and sizes for expense tracking.
Instructions
Read the full content of a specific email.
Args: message_id: The message ID from search_emails results. folder: The folder the message is in (must match the search).
Returns the email's date, sender, subject, body text, and a list of any attachments (with filenames and sizes). The body is taken from whichever of the plain-text or HTML parts contains the order details. If has_pdf is true and the body has no amount, call read_pdf_attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | INBOX | |
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |