Gmail draft read profile

org.intentschema.communication.email.draft.read.v1@com.google.gmail.v1

JSON: bare · @sha256:5c29d534e8c3…
Hash: sha256:5c29d534e8c352333bade3a8e09a51354c9804569dc500979f1f354f07dc89a7

Gmail profile for email draft read.

Implements: Read email draft (org.intentschema.communication.email.draft.read.v1)

Payload

FieldTypeDescription
target *Target (required: external_id)(system = "gmail", required: system)

Result

FieldTypeDescription
external_id *string
objectobject
updated_atstring (date-time)
object
FieldTypeDescription
tostring (email)[]
ccstring (email)[]
bccstring (email)[]
subjectstring
textBodystring
htmlBodystring
attachmentsBlobRef[]
inReplyTostring

API mapping

FieldValue
base_urlhttps://gmail.googleapis.com
methodGET
path/gmail/v1/users/me/drafts/{id}
scopeshttps://www.googleapis.com/auth/gmail.readonly
docshttps://developers.google.com/gmail/api/reference/rest/v1/users.drafts/get

Field mapping

Intent fieldAPI parameter
target.external_iduserId/drafts/{id} path parameter
gmail.formatformat query param