
Connectors / Communication · HTTP Connector
Automate MailerSend with Tray.ai
Send an email, create a template and add a domain in MailerSend, and start a workflow when MailerSend sends “Email sent”.
Thanks — someone from our team will be in touch soon.
What can you do with MailerSend on Tray.ai?
MailerSend is a transactional email and SMS service for developers, covering sending, templates, domain setup, delivery tracking and inbound routing. Tray.ai connects to MailerSend through the HTTP Connector, so your workflows can call the MailerSend API alongside the rest of your stack.
- When MailerSend sends “Email hard bounced”, flag the address in your customer database.
- Send an email when your billing system records a successful payment.
- When MailerSend sends “Recipient unsubscribed”, update the opt-out field in your CRM.
- Send bulk emails to affected customers when your incident tool declares an outage.
- Connects through
- HTTP Connector
- Authentication
- A bearer token
- Base URL
- https://api.mailersend.com/v1
Set it up
Connect MailerSend to Tray.ai
Each step uses MailerSend's own API details, from its documentation.
Step 1
Save MailerSend's API token
Save the token MailerSend issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.mailersend.com/v1 as the base URL. Or paste a cURL example from MailerSend's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Get bulk email status”
It's one of 20 documented actions, under Email. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from MailerSend events
Give MailerSend the URL of a Tray.ai webhook trigger. “Email sent” can then start a workflow, and so can 8 other events.
What the MailerSend API covers
5 resources and 20 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
- Send an email
- Send bulk emails
- Get bulk email status
Templates
- List templates
- Get a template
- Create a template
- Update a template
- Delete a template
Domains
- List domains
- Get a domain
- Add a domain
- Delete a domain
Recipients
- List recipients
- Get a recipient
- Delete a recipient
- List blocklisted recipients
Webhooks
- List webhooks
- Create a webhook
- Update a webhook
- Delete a webhook
Events MailerSend can send to a Tray.ai webhook trigger
- Email sent
- Email delivered
- Email soft bounced
- Email hard bounced
- Email opened
- Email clicked
- Recipient unsubscribed
- Spam complaint
- Sender identity verified
Checked against MailerSend's own documentation on 2026-10-22
How Tray.ai makes this work
MailerSend plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 6,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in MailerSend — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose MailerSend actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on MailerSend data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More communication apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every communication connector →
Frequently asked questions
What can a Tray.ai workflow do in MailerSend?
+
The MailerSend API documents 20 actions across 5 resources (Email, Templates, Domains, Recipients, Webhooks). For example: Send an email; List templates; List domains. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with MailerSend?
+
The MailerSend API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which MailerSend events can start a Tray.ai workflow?
+
MailerSend sends 9 events to a webhook URL, for example: Email sent; Email delivered; Email soft bounced; Email hard bounced; Email opened; Email clicked; Recipient unsubscribed; Spam complaint. A Tray.ai webhook trigger receives them and starts a workflow.
See MailerSend working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.