← All integrations

Transactional Email · Integration

Embed a Resend integration in your product

Add Resend to your product for your customers, and give your AI agents governed access to it.

Resend is an email API for the mail a product cannot afford to lose, and the surface is small on purpose: emails and batch sends, domains, audiences and contacts, broadcasts, and a webhook that reports what happened to every message. That webhook is the reason it belongs next to a marketing platform rather than in a queue, because delivery, opens, clicks, bounces and complaints arrive as events and your product can answer why a user never got their invitation instead of assuming it landed. Domain verification is the other per-customer fact: DKIM and SPF records live in the customer's own DNS, so a send from an unverified domain fails before it leaves. Sends take an idempotency key, so a retry does not deliver twice. fastn holds each API key per tenant.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let each customer send from their own verified domain, so mail comes from them and their DKIM and SPF records are the ones being checked.
  • Send transactional mail and batches from your product with an idempotency key, so a retry after a timeout does not send twice.
  • Consume the delivery, open, click, bounce and complaint events so your product can tell a user what happened to a message.
  • Add a contact to an audience or send a broadcast when something in your product warrants it.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent explains why a message never arrived by reading its bounce or complaint event.
  • An agent sends an approved message on a customer's behalf within scoped permissions, with the send logged.
  • An agent reports which domains a customer has verified and which are still waiting on DNS.

Example prompt

Did this invitation reach the user, and if it bounced, what reason came back with the event?

Set up Resend in 4 steps

  1. 01Enable the Resend connector in your fastn dashboard.
  2. 02Have each customer supply their own API key and verify the sending domain in their DNS.
  3. 03Map the templates or payloads you send, subscribe to the delivery and engagement events you act on, and set your idempotency keys.
  4. 04Call it from your product and expose the same connection to your agents through the MCP gateway.

Resend connector reference: actions, triggers and auth

Why teams use the Resend integration

  • Ship a Resend integration without building it. Your customers connect their own Resend account inside your product and work their messages, templates and delivery events there, and nothing lands on your team.
  • Handle the part that actually costs time: deliverability is the whole game, and it is decided by bounces, complaints and the reputation of the sending domain rather than by anything in the send call. fastn handles the auth, token refresh, rate limits and pagination, and when Resend changes, its maintainer agent proposes a tested fix, so a Resend update does not start in your backlog.

Resend integration FAQ

Can AI agents use this Resend integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent explains why a message never arrived by reading its bounce or complaint event. For example: "Did this invitation reach the user, and if it bounced, what reason came back with the event?"

Can each customer send from their own domain with Resend?

Yes, and it is the reason to do this per tenant rather than through one shared key. Sending reputation attaches to the domain, so a customer sending from their own verified domain in Resend carries their own deliverability rather than inheriting yours or damaging it.

How do bounces and complaints come back from Resend?

As records rather than log lines. Hard bounces, spam complaints and unsubscribes become suppression state you can read per tenant, so your product can stop mailing an address that already failed instead of sending into a hole and quietly burning the customer's sending reputation.

What can I build with the Resend integration?

A common starting point: let each customer send from their own verified domain, so mail comes from them and their DKIM and SPF records are the ones being checked. The use cases above list the rest.

Add Resend to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.