
Gmail API Integration Profile
Information and guides about integrating with Gmail API
Add Gmail Integration to Your AppGmail Users Drafts Create in Gmail API
Creates a new draft with the DRAFT
label.
Input schema fields
Field Name | API Key | Type | Description |
---|---|---|---|
Path Parameters | pathParameters | object | |
User Id | pathParameters.userId | string | |
Query | query | object | |
Data | data | object | A draft email in the user's mailbox. |
Id | data.id | string | The immutable ID of the draft. |
Output schema fields
Field Name | API Key | Type | Description |
---|---|---|---|
Id | id | string | The immutable ID of the draft. |
Message | message | object | An email message. |
Id | message.id | string | The immutable ID of the message. |
Thread Id | message.threadId | string | The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: 1. The requested `threadId` must be specified on the `Message` or `Draft.Message` you supply with your request. 2. The `References` and `In-Reply-To` headers must be set in compliance with the [RFC 2822](https://tools.ietf.org/html/rfc2822) standard. 3. The `Subject` headers must match. |
Label Ids | message.labelIds | array of strings | List of IDs of labels applied to this message. |