emails_update
Modify existing email records in HubSpot CRM to update subject lines, content, status, recipients, and email properties.
Instructions
Update an existing email record
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ||
| properties | Yes |
Input Schema (JSON Schema)
{
"properties": {
"emailId": {
"type": "string"
},
"properties": {
"additionalProperties": {},
"properties": {
"hs_email_bcc": {
"items": {
"format": "email",
"type": "string"
},
"type": "array"
},
"hs_email_cc": {
"items": {
"format": "email",
"type": "string"
},
"type": "array"
},
"hs_email_direction": {
"enum": [
"INBOUND",
"OUTBOUND"
],
"type": "string"
},
"hs_email_from_email": {
"format": "email",
"type": "string"
},
"hs_email_from_firstname": {
"type": "string"
},
"hs_email_from_lastname": {
"type": "string"
},
"hs_email_headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"hs_email_html": {
"type": "string"
},
"hs_email_status": {
"enum": [
"SENT",
"DRAFT",
"SCHEDULED"
],
"type": "string"
},
"hs_email_subject": {
"type": "string"
},
"hs_email_text": {
"type": "string"
},
"hs_email_to_email": {
"format": "email",
"type": "string"
},
"hs_email_to_firstname": {
"type": "string"
},
"hs_email_to_lastname": {
"type": "string"
},
"hs_timestamp": {
"type": "string"
},
"hubspot_owner_id": {
"type": "string"
}
},
"required": [
"hs_email_subject",
"hs_email_text",
"hs_email_from_email",
"hs_email_to_email"
],
"type": "object"
}
},
"required": [
"emailId",
"properties"
],
"type": "object"
}