Reply to email message
org.intentschema.communication.email.message.reply.v1
JSON: bare · @sha256:76ee964dd97f…
Hash: sha256:76ee964dd97fbb90b4d13051a16b6aaa10369fad92534deb4ee1259e750dab59
Sends a reply to an existing email message or thread. The target's external_id identifies the message being replied to.
Payload
| Field | Type | Description |
target * | Target (required: external_id) | |
object * | object | |
idempotency_key | string | |
object
| Field | Type | Description |
to | string (email)[] | |
cc | string (email)[] | |
bcc | string (email)[] | |
subject | string | Optional; defaults to Re: <original subject> if omitted. |
textBody * | string | |
htmlBody | string | |
attachments | BlobRef[] | |
replyAll | boolean (default false) | |
Result
| Field | Type | Description |
external_id * | string | |
thread_id * | string | |
sent_at * | string (date-time) | |
Examples
reply to a thread
{
"target": {
"system": "gmail",
"external_id": "msg_abc123"
},
"object": {
"textBody": "Thanks, got it."
}
}
reply-all with explicit recipients
{
"target": {
"system": "gmail",
"external_id": "msg_abc123"
},
"object": {
"to": [
"jane@example.com"
],
"cc": [
"alice@example.com"
],
"subject": "Re: Checking in",
"textBody": "Looping in Alice.",
"replyAll": true
}
}
Profiles