> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot: Send Single Marketing Email

> Send an existing HubSpot marketing email to one contact, for example a test send before a campaign. Includes SDK V2 examples, schemas, and cost.

Send an existing HubSpot marketing email to one contact, for example a test send before a campaign.

> [!NOTE]
>
> Tool ID: `hubspot_send_single_marketing_email`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe hubspot_send_single_marketing_email --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe hubspot_send_single_marketing_email --json` for the complete live contract.

## Input reference

Send an existing HubSpot marketing email to one recipient through the single-send API, for example a test send. Requires Marketing Hub Enterprise and the `marketing-email` scope. The email must be set up for single send in HubSpot. A draft works. The recipient becomes a marketing contact.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.email_id` | `string` | Yes | — | Content ID of the HubSpot email to send, from the email editor URL or hubspot\_list\_marketing\_emails. Pattern: `^[0-9]+$`. |
| `payload.to` | `string` | Yes | — | Recipient email address. |
| `payload.from` | `string` | No | — | Override for the From header, for example `Sender Name &lt;sender@example.com&gt;`. The address must be a verified HubSpot sending address. Minimum length: 1. |
| `payload.reply_to` | `array` | No | — | Reply-To addresses. |
| `payload.cc` | `array` | No | — | Cc addresses. |
| `payload.bcc` | `array` | No | — | Bcc addresses. |
| `payload.send_id` | `string` | No | — | Deduplication key. HubSpot sends at most one email per send ID per account. Inside a Play, Deepline derives one from the step when omitted so a retried step does not send twice. Minimum length: 1. Maximum length: 200. |
| `payload.contact_properties` | `record` | No | — | Contact property values to write on the recipient record before sending, available in the template as contact tokens. |
| `payload.custom_properties` | `record` | No | — | Values referenced in the email as `&#123;&#123; custom.NAME &#125;&#125;`. HubSpot does not store them. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Send an existing HubSpot marketing email to one recipient through the single-send API, for example a test send. Requires Marketing Hub Enterprise and the `marketing-email` scope. The email must be set up for single send in HubSpot; a draft works. The recipient becomes a marketing contact.",
    "properties": {
      "email_id": {
        "type": "string",
        "description": "Content ID of the HubSpot email to send, from the email editor URL or hubspot_list_marketing_emails.",
        "pattern": "^[0-9]+$"
      },
      "to": {
        "type": "string",
        "description": "Recipient email address."
      },
      "from": {
        "type": "string",
        "description": "Override for the From header, for example `Sender Name <sender@example.com>`. The address must be a verified HubSpot sending address.",
        "minLength": 1
      },
      "reply_to": {
        "type": "array",
        "description": "Reply-To addresses.",
        "items": {
          "type": "string"
        }
      },
      "cc": {
        "type": "array",
        "description": "Cc addresses.",
        "items": {
          "type": "string"
        }
      },
      "bcc": {
        "type": "array",
        "description": "Bcc addresses.",
        "items": {
          "type": "string"
        }
      },
      "send_id": {
        "type": "string",
        "description": "Deduplication key. HubSpot sends at most one email per send ID per account. Inside a Play, Deepline derives one from the step when omitted so a retried step does not send twice.",
        "minLength": 1,
        "maxLength": 200
      },
      "contact_properties": {
        "type": "object",
        "description": "Contact property values to write on the recipient record before sending, available in the template as contact tokens.",
        "additionalProperties": {
          "type": "string"
        }
      },
      "custom_properties": {
        "type": "object",
        "description": "Values referenced in the email as `{{ custom.NAME }}`. HubSpot does not store them.",
        "additionalProperties": {}
      }
    },
    "required": [
      "email_id",
      "to"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `record` | Yes | — | Provider response payload. |
| `result.meta` | `record` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.