Read Email Attachment
read_email_attachmentUse this to read the contents of an attached document (e.g. "analyze this
spreadsheet", "summarize this PDF"). Parseable types (.csv, .tsv, .xlsx, .pdf,
.pptx, .txt, .md) come back readable — pull row/page slices with read_attachment(attachment_id).
Any other type is saved to the user's library but isn't readable; use
get_email_attachment instead if you only need to fetch or transfer the file.
Provide email_data_id + attachment_id (from search_emails results). Dict with attachment_id (pass to read_attachment), filename, mimeType, summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | No | The attachmentId from the attachments metadata | |
| email_data_id | No | ID of the email_data record (from search_emails) |