Gmail

Gmail API Integration Profile

Information and guides about integrating with Gmail API

Add Gmail Integration to Your Product

Gmail Users Drafts Get in Gmail API

Gets the specified draft.

Input schema fields
Field NameAPI KeyType
Path ParameterspathParametersobject
User IdpathParameters.userIdstring
IdpathParameters.idstring
Queryqueryobject
Formatquery.formatstring
Output schema fields
Field NameAPI KeyTypeDescription
IdidstringThe immutable ID of the draft.
MessagemessageobjectAn email message.
Idmessage.idstringThe immutable ID of the message.
Thread Idmessage.threadIdstringThe 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 Idsmessage.labelIdsarray of stringsList of IDs of labels applied to this message.

Build every single integration your customers need with AI

Book a demo