Resend is an email API for transactional email delivery. Cargo’s native Resend integration lets you send template-based or raw HTML/text emails directly from your Tools, Plays, and Agents.
How to set up Resend
To connect Resend, you need an API key from your Resend account.
Connection details
| Field | Description |
|---|
| API Key | Your Resend API key |
Create an API key in Resend under API Keys and paste it into Cargo when creating the connector.
Once the connector is created, you can:
- Use Resend in workflows — Choose Resend from the node catalog in a Play, Tool, or Agent.
Resend actions
Send email
Send an email with Resend using either:
- a published template with variables, or
- raw HTML/text content.
Configuration
| Field | Description |
|---|
| From email | Sender email address |
| From name | Optional sender display name |
| To email | Recipient email address |
| Subject | Required for HTML/text mode, optional when using a template |
| Template | Optional template ID or alias |
| Template variables | Optional key-value mappings used with templates |
| HTML | Optional HTML body (must not be set with Template) |
| Text | Optional text body (must not be set with Template) |
| Reply to | Optional reply-to email address |
If Template is provided, do not send HTML or Text in the same action.
Resend rejects that payload combination.
Template variables
When using templates, pass variables as key-value pairs in Template variables.
Example
| Key | Value |
|---|
first_name | {{contact.firstName}} |
company_name | {{account.name}} |
cta_url | {{tool.output.meetingUrl}} |
Template variable keys must match the variables expected by your published
Resend template.