# GmailBatchBody

Fetch several messages in one request, by id (SG-14893; mirrors Outlook's).

Type: object

Fields typed as another model are documented on that model's page; fetch it before filling the field.

| Field | Type | Required | Description | Allowed values / default / constraints |
| --- | --- | --- | --- | --- |
| `ids` | array of string | yes | Message ids to fetch. At most 50, or 10 when `include_attachments` is true. | min items: 1 |
| `include_attachments` | boolean | no | Whether to return each message's attachment content (base64) as well as its metadata. Lowers the batch cap to 10; attachments may total at most 25 MB across the batch. | default: `false` |

## Used by

- [POST /rest/beta/gmail/messages/batch](https://api.sheetgo.com/rest/reference/gmail.md#post-rest-beta-gmail-messages-batch)

---

More: start page https://api.sheetgo.com/rest/reference.md, everything in one file https://api.sheetgo.com/rest/llms-full.txt, OpenAPI https://api.sheetgo.com/rest/openapi.json.
