emails_update
Modify email records in HubSpot MCP by updating fields like subject, recipients, content, and status to ensure CRM data remains accurate and up to date.
Instructions
Update an existing email record
Input Schema
Name | Required | Description | Default |
---|---|---|---|
emailId | Yes | ||
properties | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"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"
}