Skip to content

Send email from your app with Resend, such as a receipt or a confirmation. You need a Resend API key with sending access, and a domain that you verified in Resend.

Connect Resend

To connect Resend, you must be a project owner. Owners and developers on the project can use Resend after an owner connects it. Create an API key with sending access in Resend under API Keys. The key starts with re_.

  1. Open Project Settings › Connections.
  2. Turn on the switch for Resend. The Connect Resend dialog opens.
  3. If the dialog lists keys from your other apps, choose one, or click Paste an API key. Paste the key into API key. To open Resend’s API keys page, click Find it beside the label.
  4. Click Connect.

Resend checks the key before FlutterFlow saves the connection, and FlutterFlow never shows the key again. For more information, see Connect a service.

Sending domain

Resend sends email only from a domain that you verified in Resend. Only you can verify it: add the domain in Resend under Domains, and then, at your DNS provider, add the DNS records that Resend shows.

Until a domain is verified, Resend sends only from onboarding@resend.dev, and only to the email address of your Resend account. That’s enough to try the feature, but not to email the people who use your app.

What to ask

To ask for an email feature, tell the agent what triggers the email, who receives it, and the address it comes from:

Example request

When a signed-in person adds a transaction over 500, email them a receipt with the payee and the amount, from receipts@example.com.

Example request

When someone sends the feedback form, email their message to me from feedback@example.com.

Who gets email

Your app sends every email from your domain on your Resend account. In your request, name who receives each email, such as you or the person who’s signed in, rather than an address that people who use your app type in. A feature that lets anyone choose the address lets anyone send email from your domain.

Agent questions

If Resend isn’t connected, the agent asks you to connect it in a card above the message box, with a Connect Resend button. If you aren’t a project owner, ask one to connect Resend. The agent may also ask which verified domain to send from. See Connect when the agent asks.

Review

After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.

After you push a backend change, check the result in Backend.

Calls from the preview are real, so testing the feature sends real email. Send a test to your own address. See How connections work.

Call limit

Your app and the agent share a limit of 60 calls a minute to Resend through your app’s connection. See Limits.

Push

After you test the feature, push the changes to your app.

Next steps

Troubleshooting

  • The dialog says “Resend API keys start with re_, then a long code. Check you copied all of it.”: in Resend, copy the whole key again, and then paste it.
  • Resend refuses the key: see A service refuses your key.
  • Email reaches only your own address: verify your domain in Resend. See Sending domain.
  • Your app shows a message about the service: see Messages shown in your app.