Gmail email message read profile

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

JSON: bare · @sha256:fc1185d2b867…
Hash: sha256:fc1185d2b8677690515c0cac2f6ebd965a175eae46d0cc7a9314fd49326ba977

Gmail profile for fetching a single message.

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

Payload

FieldTypeDescription
target *Target (required: external_id)(system = "gmail", required: system)
gmail @com.google.gmailobject
gmail @com.google.gmail
FieldTypeDescription
formatenum: minimal | full | raw | metadata

Result

FieldTypeDescription
external_id *string
objectobject
etagstring
object
FieldTypeDescription
external_idstring
thread_idstring
fromstring (email)RFC 5321 mailbox. Plain address (jane@example.com) or with display name ("Jane Doe" <jane@example.com>).
tostring (email)[]
subjectstring
snippetstring
datestring (date-time)
is_unreadboolean
has_attachmentsboolean
labelsstring[]

API mapping

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

Field mapping

Intent fieldAPI parameter
target.external_iduserId/messages/{id} path parameter
gmail.formatformat query param (minimal|full|raw|metadata)