emails_create
Generate and store new email records in HubSpot MCP, specifying details such as recipient, sender, subject, content, and status for efficient CRM management.
Instructions
Create a new email record
Input Schema
Name | Required | Description | Default |
---|---|---|---|
associations | No | ||
properties | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"associations": {
"items": {
"additionalProperties": false,
"properties": {
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"types": {
"items": {
"additionalProperties": false,
"properties": {
"associationCategory": {
"type": "string"
},
"associationTypeId": {
"type": "number"
}
},
"required": [
"associationCategory",
"associationTypeId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"to",
"types"
],
"type": "object"
},
"type": "array"
},
"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": [
"properties"
],
"type": "object"
}