Read email message
org.intentschema.communication.email.message.read.v1
JSON: bare · @sha256:967a699a35f4…
Hash: sha256:967a699a35f47b7d32e48e2c4c7ea81dd5087fe4a9f4d611fff9b7bd30d6929e
Read a single email message by id, including headers and body.
Payload
| Field | Type | Description |
target * | Target (required: external_id) | |
Result
| Field | Type | Description |
external_id * | string | |
object | object | |
etag | string | |
object
| Field | Type | Description |
external_id | string | |
thread_id | string | |
from | string (email) | RFC 5321 mailbox. Plain address (jane@example.com) or with display name ("Jane Doe" <jane@example.com>). |
to | string (email)[] | |
subject | string | |
snippet | string | |
date | string (date-time) | |
is_unread | boolean | |
has_attachments | boolean | |
labels | string[] | |
Examples
fetch by id
{
"target": {
"system": "gmail",
"external_id": "msg_abc123"
}
}
Profiles