get_emails_by_ids
Fetch content for up to 25 emails in one call by composite ID. Read multiple specific messages from prior search results without one-by-one requests; per-item errors don't fail the batch.
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). |