Request Attachment Text
mailbox_request_attachment_textExtract readable text from an email attachment for analysis or indexing, capped at 7.5 MB with 24-hour cached results and extraction status checks.
Instructions
Extract readable text from an attachment up to 7500000 bytes at no extra charge. Requires mailbox.read. Repeated requests reuse the current extraction for 24 hours. OCR is unavailable; check status and outcome, and use the original download if extraction cannot complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | Maximum UTF-8 text bytes returned. Default 262144; maximum 1048576. Applies to cached results too. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| message_id | Yes | Message ID in the selected mailbox. | |
| attachment_id | Yes | Attachment ID from that message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |