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
- Create a Resend account, verify your domain, and create an API key.
- Replace re_YOUR_RESEND_API_KEY and the from address with your verified sender.
- 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
Description
Endpoint URL
Paste into Endpoint URL (https:// is added automatically).
HTTP method
Tool inputs (all)
Tool input: to_email
Input name
Input type
Input description
Reference value
Use this as the request query or body value and choose “Tool input” in the form.
Tool input: subject
Input name
Input type
Input description
Reference value
Use this as the request query or body value and choose “Tool input” in the form.
Tool input: body
Input name
Input type
Input description
Reference value
Use this as the request query or body value and choose “Tool input” in the form.
Request body (all)
Field name
Field value
Field name
Field value
Field name
Field value
Field name
Field value
Headers (all)
Header values are encrypted when stored. Replace placeholders with your real secrets.
Header name
Header value
Header name
Header value
