Gmail draft update profile
org.intentschema.communication.email.draft.update.v1@com.google.gmail.v1
JSON: bare · @sha256:217a942d1604…
Hash: sha256:217a942d1604b0600d1d1ffdbffee491eb582ebafb79d2542d554779f8ffeb60
Gmail profile for email draft update.
Implements: Update email draft (org.intentschema.communication.email.draft.update.v1)
Payload
| Field | Type | Description |
target * | Target (required: external_id) | (system = "gmail", required: system) |
object * | object | |
idempotency_key | string | |
object
| Field | Type | Description |
from | string (email)[] | |
to | string (email)[] | |
cc | string (email)[] | |
bcc | string (email)[] | |
subject | string | |
textBody | string | |
htmlBody | string | |
attachments | BlobRef[] | |
inReplyTo | string | |
Result
| Field | Type | Description |
external_id | string | |
updated_at | string (date-time) | |
API mapping
Field mapping
| Intent field | API parameter |
object.to | message.raw To header |
object.subject | message.raw Subject header |
object.textBody | message.raw text/plain part |
object.htmlBody | message.raw text/html part |
object.inReplyTo | message.raw In-Reply-To header |
target.external_id | userId/drafts/{id} path parameter |