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

# Send Email

> Send email notifications via a connected email provider

Sends emails via a connected email service provider (SendGrid, Gmail, Mailchimp, etc.). Use it for automated notifications, alerts, order confirmations, or any email triggered by workflow data.

## Configuration

| Setting              | Description                                                   |
| -------------------- | ------------------------------------------------------------- |
| **Integration**      | The connected email provider                                  |
| **Subject**          | Email subject line - supports **Mentions** for dynamic values |
| **Message Template** | Email body - supports **Mentions** for dynamic values         |
| **To Emails**        | Recipient email address(es)                                   |
| **CC Emails**        | CC recipients (optional)                                      |
| **BCC Emails**       | BCC recipients (optional)                                     |
| **From Email**       | Sender address (uses integration default if empty)            |
| **Content Type**     | **text/plain** (default) or **text/html** for rich formatting |

### Template Options

| Setting                | Description                                                  |
| ---------------------- | ------------------------------------------------------------ |
| **Template ID**        | Provider-specific template ID (SendGrid) or slug (Mailchimp) |
| **Template Variables** | Key-value mapping of template variables                      |

## How It Works

<Steps>
  <Step title="Select the email provider">
    Choose your connected email integration.
  </Step>

  <Step title="Compose the email">
    Write the subject and body using **Mentions** to inject record values dynamically.
  </Step>

  <Step title="Set recipients">
    Enter To, CC, and BCC addresses. Recipients can also use **Mentions** (e.g., send to each contact's email).
  </Step>
</Steps>

## Output

Emails are sent when the Agent runs. Each send is logged as a task.

<Note>
  By default, all matching records are combined into a single email (field values concatenated). To send one email per record, add a [Group By](/guide/nodes/transform/group-by-node) node before this node, grouped by the primary key field.
</Note>

## Example

Send a personalized alert when a deal closes:

1. Filter for opportunities with Stage = "Closed Won"
2. **Group By** → Opportunity.Id
3. **Send Email**
   * To: `{{Salesforce.Opportunity.OwnerEmail}}`
   * Subject: `Deal closed: {{Salesforce.Opportunity.Name}}`
   * Body: `Congratulations! {{Salesforce.Opportunity.Name}} closed for ${{Salesforce.Opportunity.Amount}}.`

## Best Practices

* Use **Group By** before this node to send per-record emails
* Use **text/html** content type for rich formatting with links and tables
* Use **Template ID** for consistent branding with provider-managed templates
* Test with a small dataset before enabling automatic execution

## Related Nodes

* **[Slack](/guide/nodes/actions/slack-node)** - send chat notifications instead of email
* **[Teams](/guide/nodes/actions/teams-node)** - send Microsoft Teams notifications instead of email
* **[Group By](/guide/nodes/transform/group-by-node)** - control email batching (one per record vs. batch)
