Batch Get Messages
mailbox_batch_get_messagesRetrieve multiple email messages by their IDs in a single call, reducing API calls after a search or when handling several message IDs.
Instructions
Use this when the user supplies several message IDs or a prior search returns multiple candidates. It avoids repeated single-message calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Message IDs to fetch, maximum 100. | |
| part | No | Body part to return when body_mode is not `none`. | |
| body_mode | No | Body shape to include for each message. | |
| 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. | |
| include_html | No | When true, include HTML content when available. | |
| strip_quotes | No | When true, remove quoted reply text. | |
| include_links | No | When true, include links extracted from the body. | |
| max_body_chars | No | Maximum body characters per message before truncation. | |
| include_headers | No | Header detail to include in each message. | |
| strip_signature | No | When true, remove detected email signatures. | |
| include_attachments | No | Attachment detail to include. Contents are not returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||