Email Get Message
email_get_messageFetch a single email message from iCloud, returning headers, flags, body text, and a list of attachments with metadata.
Instructions
Get one message: headers (from, to, cc, reply_to, date, Message-ID), flags, body_text and the attachments list.
Attachments are described by index, name, mime_type and size; download one with email_get_attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | IMAP folder name. iCloud folders: INBOX, Drafts, 'Sent Messages', 'Deleted Messages', Junk, Archive (see email_list_folders). | INBOX |
| full_html | No | Also return body_html (raw HTML, size-capped). | |
| message_id | Yes | Message ID (IMAP UID) from email_list_messages/email_search, valid within `folder` only. | |
| include_body | No | Include the body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||