emails_batch_update
Update multiple email records in one request using the HubSpot MCP server. Modify subject, text, HTML, status, recipients, and more for efficient email management.
Instructions
Update multiple email records in a single request
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inputs | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"inputs": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"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": [
"id",
"properties"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"inputs"
],
"type": "object"
}