HubSpot · Schema
EmailMessage
The email message configuration
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales
Properties
| Name | Type | Description |
|---|---|---|
| to | string | The recipient's email address |
| from | string | Override the from address (must be verified) |
| sendId | string | A unique ID to prevent duplicate sends |
| replyTo | array | Reply-to email addresses |
| cc | array | CC email addresses |
| bcc | array | BCC email addresses |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/marketing-emal-api-email-message-schema.json",
"title": "EmailMessage",
"description": "The email message configuration",
"type": "object",
"properties": {
"to": {
"type": "string",
"format": "email",
"description": "The recipient's email address",
"example": "[email protected]"
},
"from": {
"type": "string",
"format": "email",
"description": "Override the from address (must be verified)",
"example": "[email protected]"
},
"sendId": {
"type": "string",
"description": "A unique ID to prevent duplicate sends",
"example": "unique-send-id-123"
},
"replyTo": {
"type": "array",
"description": "Reply-to email addresses",
"items": {
"type": "string",
"format": "email"
},
"example": [
"[email protected]"
]
},
"cc": {
"type": "array",
"description": "CC email addresses",
"items": {
"type": "string",
"format": "email"
},
"example": [
"[email protected]"
]
},
"bcc": {
"type": "array",
"description": "BCC email addresses",
"items": {
"type": "string",
"format": "email"
},
"example": [
"[email protected]"
]
}
},
"required": [
"to"
]
}