This connection is for email your apps and workflows send. It isn’t used for
camelAI’s own platform emails (invites, password resets), and it’s separate from the
workspace email inbox you use to talk to the agent.
What you can build
Describe any of these in a chat and the agent builds it against your Resend connection:When a new row lands in our Stripe connection, send the customer an order confirmation email with Resend.
Every night, check for records pending review longer than 30 days and email a summary to dev-alerts@company.com via Resend.
After someone signs up in our React app, send them a welcome email through Resend.
Query our active subscriber table and send this newsletter to everyone with Resend.The prompt is the work. The agent writes the sending code, wires it to the right trigger, and uses your connection for credentials.
Connect Resend
Create a Resend API key
In your Resend dashboard, go to API Keys → Create API Key.
Give it a name, and assign the Sending Access permission (choose Full Access
only if your app needs Resend’s read or admin endpoints). Copy the key — it starts
with
re_.Add the connection in camelAI
You can do this two ways:
- Through Connections
- Through the agent
Open Connections in your workspace and click Add connection. Search for
Resend and select it. Give the connection a name (for example
Resend Production), paste your re_... key into the API Key field, and
click Create Connection.Use it
The simplest path is to not write any code. Ask the agent:Email me a summary of yesterday’s signups every morning at 8am via Resend.The agent builds the app or scheduled workflow and sends through your connection. If you’re writing the code yourself, resolve the connection by type and call its
fetch
method. Don’t hard-code an alias — camelAI derives it from the connection’s type and name.
How it works
- Native Communication connection — Resend is built in, with a fixed base URL and a single API key field. No base URL or auth type to set up.
- Encrypted storage — your key is encrypted at rest. Connection listings show only that credentials exist, never the key itself.
- Authenticated proxy — calls go through an authenticated
fetchtohttps://api.resend.com. Relative paths resolve against that base; absolute URLs are restricted to that origin. camelAI adds theAuthorization: Bearerheader server-side. - Server-side execution — the connection is available to the agent, workflows, and your apps’ server code, never to client code.
Staging and production
You can add more than one Resend connection to a workspace — for example one namedProduction and one named Staging — and resolve the one you want by name:
FAQ
Does camelAI charge for sending email?
Does camelAI charge for sending email?
No. Resend bills your email volume under your own Resend account. camelAI doesn’t
charge per email or spend credits when you send through your connection.
Can I use multiple keys or environments?
Can I use multiple keys or environments?
Yes. Add a separate named connection for each key — for example
Production and
Staging — and resolve the one you want with
CONNECTIONS.find({ type: "resend", name: "Production" }).What happens when I rotate my Resend key?
What happens when I rotate my Resend key?
Update the API key on the connection. Your app code doesn’t change, because it
resolves the connection by type and name rather than by the embedded key.
My emails aren't sending. What should I check?
My emails aren't sending. What should I check?
- Check your app logs for the response status from the Resend call.
- Confirm the
fromdomain is verified in your Resend dashboard. - Check the Resend dashboard for rate limits or account restrictions.

