Every request and response model referenced above, including nested ones (5). The full catalogue is on api-models.html.
GmailSendBody
One message to send through the authorized Gmail account.
Gmail always stores a sent message in SENT, so there is no equivalent of
Outlook's save_to_sent_items.
| Field | Type | | Description |
|---|
attachments | array of AttachmentIn | optional | Files to attach: at most 10, totalling no more than 3 MB once decoded. Default: [] |
bcc | array of string | optional | Blind-carbon-copy recipients, hidden from other recipients. Default: [] |
body | BodyContent | required | The message body and whether it is plain text or HTML. |
cc | array of string | optional | Carbon-copy recipients, visible to everyone. Default: [] |
subject | string | optional | Subject line. Optional; defaults to an empty subject. Default: "" |
to | array of string | required | Primary recipients. At least one is required; to, cc and bcc together may not exceed 50 addresses. Min items: 1 |
Used by: POST /rest/beta/gmail/send