Skip to main content
Send transactional and marketing emails programmatically via API

Capabilities

Once connected, your agent can send emails programmatically.
  • Send single emails with HTML/text content
  • Send batch emails (up to 100 at once)
  • Use pre-built email templates
  • Schedule emails for future delivery
  • Cancel scheduled emails
  • Track email delivery status
  • Add attachments to emails
  • Use tags for filtering and analytics

Setup Guide

Follow these steps to connect Resend to your instances.

1. Create a Resend account

Go to resend.com/signup and create an account. The free tier includes 3,000 emails/month. Go to Domains and add your domain. Follow the DNS setup instructions. You can use [email protected] for testing.

3. Generate an API key

Go to API Keys and create a new API key. Copy it immediately—you won’t be able to see it again.

4. Store the API key in Environment

Go to Environment and create a new variable:
  • Name: RESEND_API_KEY Value: Your Resend API key (starts with re_)

5. Grant access to instances

Choose how instances should access the API key:
  • Option A: Global Access (All instances) — Toggle “Make globally accessible” when creating the secret.
  • Option B: Instance-Specific (Selective access) — In Environment, open the secret and grant the specific instance access.

Usage Examples

Ask your agent to send emails using natural language. Send a simple email
“Send an email to [email protected] with subject ‘Meeting Tomorrow’ and let him know the meeting is at 3pm”
Send a batch of emails
“Send welcome emails to these users: [email protected], [email protected], and [email protected]
Schedule an email
“Schedule an email to [email protected] for next Monday at 9am reminding them about the product launch”