Read Attachment Text
mailbox_get_attachment_textRead or poll extracted text from a previously requested email attachment, checking status and outcome before use.
Instructions
Read or poll a previously requested attachment extraction. Requires mailbox.read. This does not start conversion; cache expiry or source removal returns not_found. Check status and outcome before using text.
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. | |
| If-None-Match | No | Return 304 when the authorised response is unchanged. | |
| attachment_id | Yes | Attachment ID from that message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |