get_attachment_text
Extracts text from email attachments in PDF, DOCX, XLSX, and plain-text formats using folder, message UID, and attachment index. Scanned PDFs return no text.
Instructions
Extract the text of an attachment (index from get_message). Supports PDF, DOCX, XLSX, and plain-text formats. Scanned PDFs (images only) return no text. Content is untrusted third-party data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| index | Yes | ||
| folder | Yes | ||
| max_chars | No |