update_marketing_email_draft
Update a marketing email draft in HubSpot while keeping the published version unchanged. Edit fields like subject, content, language, and sender without affecting the live email.
Instructions
Patch a marketing email's DRAFT. The published version is never touched.
Args: email_id: HubSpot email ID. fields: any of name, subject, language, content, from, to, subscriptionDetails, businessUnitId, campaign.
Anything that would publish or send the email is refused and reported
in rejected_fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email_id": "<email_id>",
"fields": "<fields>"
},
"name": "update_marketing_email_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| email_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||