get_emails_by_ids
Retrieve full content for multiple emails at once by supplying their composite IDs (max 25). This batch method avoids per-message round trips and includes an ok field per result for partial failure handling.
Instructions
Fetch full content for multiple emails by composite id in one call (max 25). Use to read a batch of specific messages from a prior get_emails/search_emails/search_indexed_emails result without one get_email_by_id round trip per message. One failed id does not fail the whole batch — check each result's ok field. Prefer get_email_by_id for a single message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailIds | Yes | Composite email ids as an array or a comma-separated string. Max 25 per call. | |
| preferHtml | No | Return raw HTML body instead of plain-text stripped version. | |
| maxBodyLength | No | Truncate each body at this many characters (1–500000). |