Retrieves the bytes of an email attachment by index.
| Name | Type | Required | Description |
|---|---|---|---|
| mime_type | str | Yes | The MIME type of the attachment. Must match the metadata attachment MIME type. |
| attachment_index | int | Yes | The attachment index. |
| type | Literal["getEmailAttachment"] | Yes | None |