get-mail-attachment-content
get-mail-attachment-contentDownloads an email attachment and returns its content. Converts DOCX, XLSX, PPTX, PDF, TXT, and CSV to text; other binaries are returned as base64.
Instructions
Download an attachment and return its content. DOCX/XLSX/PPTX/PDF/TXT/CSV are converted to text; other binaries (images) come back as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Attachment file name (helps pick the right text extractor) | |
| messageId | Yes | Value for messageId | |
| attachmentId | Yes | Value for attachmentId |