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

# MailerSend

> Send emails from your agents

The **MailerSend** integration lets your agents send emails at the end of a call or on specific events.

## Prerequisites

1. **MailerSend account** - See [getting started](https://www.mailersend.com/help/getting-started) if needed.
2. **Verified domain** - You must verify and authenticate a sending domain in MailerSend so emails deliver correctly and aren’t marked as spam. Follow [How to Verify and Authenticate a Sending Domain](https://www.mailersend.com/help/how-to-verify-and-authenticate-a-sending-domain).

<Warning>
  Without a verified domain you cannot send from MailerSend. Complete this step before continuing.
</Warning>

## Initial configuration

1. Generate an **API key** in your MailerSend dashboard.
2. In **Vatel AI → Settings → Direct Integrations**, click **Add Integration**.
3. Select **MailerSend** and paste your API key.
4. Click **Save API Key**.

<img src="https://mintcdn.com/devpro-38b0cd42/siYuii7UbwVM56xA/images/integrations/mailersend_setup.png?fit=max&auto=format&n=siYuii7UbwVM56xA&q=85&s=f750a73623687b8f29548874eb0c49da" alt="MailerSend Setup" width="2586" height="1486" data-path="images/integrations/mailersend_setup.png" />

## Using in an agent

* In the agent editor, open the conversation graph or end-of-call logic and add a **MailerSend** node.
* Set:
  * **When** - When to send the email
  * **Sender** - Sender address
  * **Recipients** - One or more addresses (use **+** to add more)
  * **Subject** - Email subject
  * **Body** - Content; supports [system variables](/core-concepts/system-vars)

<img src="https://mintcdn.com/devpro-38b0cd42/siYuii7UbwVM56xA/images/integrations/mailersend_node.png?fit=max&auto=format&n=siYuii7UbwVM56xA&q=85&s=fa240e67b4b5f0ba93fc3b3454c2d444" alt="MailerSend Node" width="1928" height="1730" data-path="images/integrations/mailersend_node.png" />
