read_attachment
Read the text of a specific email attachment by UID and index; supports text, HTML, PDF, DOCX, and spreadsheets, returning metadata for other file types.
Instructions
Read the text of one attachment of a message (text, HTML, PDF, DOCX, XLSX/XLS/ODS; other types return metadata only). Index comes from read_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | UID from search. | |
| index | Yes | Attachment index from read_message (starts at 0). | |
| folder | No | Folder holding the message (default INBOX). | |
| max_chars | No | Most characters to return (default 20000, at most 200000). |