Skip to main content
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

FieldDescription
API KeyYour 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
FieldDescription
From emailSender email address
From nameOptional sender display name
To emailRecipient email address
SubjectRequired for HTML/text mode, optional when using a template
TemplateOptional template ID or alias
Template variablesOptional key-value mappings used with templates
HTMLOptional HTML body (must not be set with Template)
TextOptional text body (must not be set with Template)
Reply toOptional 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

KeyValue
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.