Back to all tools
Needs API key

Send email

Use only after the customer provides a valid email. Verify your sending domain in Resend before going live.

What this tool does

Some details belong in an inbox rather than a chat: a quote, a booking summary or an information pack. This tool lets your agent send a transactional email through Resend once the customer has shared a valid address. Your agent fills in the recipient, subject and message and confirms when it is sent. You need a Resend API key and a verified sending domain, so emails arrive from your business and not from a generic sender. Use it for one-to-one emails, not newsletters.

Example conversation

Customer

Can you email me the price list so I can show my husband?

AI agent

Of course. What email address should I send it to?

Customer

priya.s@example.com

Tool callsend_transactional_email

to_email: priya.s@example.com, subject: Price list

AI agent

Done. I have sent the price list to priya.s@example.com. It should arrive in a minute. Check your spam folder if you do not see it.

Example only. Tool calls are shown so you can see when the agent uses this template. Your agent’s wording depends on your prompt and business information.

Who uses it

  • Clinics emailing pre-appointment instructions and price lists.
  • Travel agencies sending itineraries and quotes for the family to review.
  • Agencies emailing a call summary after qualifying a lead.

Setup

  1. Create a Resend account, verify your domain, and create an API key.
  2. Replace re_YOUR_RESEND_API_KEY and the from address with your verified sender.
  3. In your prompt, restrict send_transactional_email to confirmations the customer asked for — never spam.

Copy into custom tool form

Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.

Tool name

send_transactional_email

Description

Send a transactional email via Resend (receipt, confirmation, or follow-up). Only send after the customer has provided a valid email address.

Endpoint URL

Paste into Endpoint URL (https:// is added automatically).

api.resend.com/emails

HTTP method

POST

Tool inputs (all)

1. to_email (string) Recipient email address 2. subject (string) Email subject line 3. body (string) Plain-text email body

Tool input: to_email

Input name

to_email

Input type

string

Input description

Recipient email address

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{to_email}}

Tool input: subject

Input name

subject

Input type

string

Input description

Email subject line

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{subject}}

Tool input: body

Input name

body

Input type

string

Input description

Plain-text email body

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{body}}

Request body (all)

from: YOUR_FROM_NAME <YOUR_VERIFIED_FROM@YOUR_DOMAIN.com> to: {{to_email}} subject: {{subject}} text: {{body}}

Field name

from

Field value

YOUR_FROM_NAME <YOUR_VERIFIED_FROM@YOUR_DOMAIN.com>

Field name

to

Field value

{{to_email}}

Field name

subject

Field value

{{subject}}

Field name

text

Field value

{{body}}

Headers (all)

Header values are encrypted when stored. Replace placeholders with your real secrets.

Authorization: Bearer re_YOUR_RESEND_API_KEY Content-Type: application/json

Header name

Authorization

Header value

Bearer re_YOUR_RESEND_API_KEY

Header name

Content-Type

Header value

application/json