Gmail draft create profile
org.intentschema.communication.email.draft.create.v1@com.google.gmail.v1
JSON: bare · @sha256:7eb347a57a1e…
Hash: sha256:7eb347a57a1ee8f14f5f50a43b0dc5535e22bbda0cca3103df616c06423c2e95
Gmail profile for email draft create.
Implements: Create email draft (org.intentschema.communication.email.draft.create.v1)
Payload
| Field | Type | Description |
target * | Target | (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 | Optional message id this draft is in reply to. |
Result
| Field | Type | Description |
external_id * | string | Provider draft id. |
created_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 |