Send an existing Gmail draft
Changed onSends the existing draft unchanged, including To/Cc/Bcc, reply threading and attachments. Create or inspect the draft first. Requires gmail.compose or gmail.modify (gmail.send alone does not authorize drafts.send). A successful response contains the actual sent message id and threadId, not the old draft message ID. Uses only the calling member's selected connected Google account. Perform writes only when explicitly requested by the user; capability discovery or selection is not authorization. Never automatically retry an uncertain write.
Request
- Base URLhttps://api.openworklabs.com
- URLhttps://api.openworklabs.com/v1/capabilities/google-workspace/gmail-draft/{draftId}/send
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Existing Gmail draft ID, not its message ID.
Request body
Response
Google's validated response.
Changes
- info
response property
details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info
- info
added the optional property
to the response with the status
- info