BreakAlarmLog in

Lovable or Bolt app not sending emails after launch

Sign-up confirmations, password resets, magic links, receipts, and notifications can reach your own inbox in testing and never reach anyone else once the app is live. Resend’s shared test address, onboarding@resend.dev, delivers only to the Resend account owner. Everyone else gets a 403 that begins “You can only send testing emails to your own email address.” A domain you added does not send until its DNS verifies, and verifying it does not change the from address already deployed in the function. A missing or invalid RESEND_API_KEY fails the API call. Supabase Auth’s built-in mailer is a separate path: it sends only to organization team members, and only 2 emails an hour, until custom SMTP is configured. The site can still return 200 and tell the person to check their email.

Last updated Nov 26, 2026.

Two emails, and why the failure stays quiet

A receipt or a notification is an app email. Your code sends it, usually with Resend. A confirmation, password reset, magic link, or invite is an auth email. Lovable Auth or Supabase Auth sends that one, unless you replaced it with a Send Email hook. Testing with your own address walks through both gates: you are the Resend account owner, and you are on the Supabase team.

Read the log before you change DNS

  1. Write down which message failed, and the address you sent it to. A receipt and a password reset are different systems.
  2. In Resend, open Emails and find that recipient. No row means Resend never accepted the send. Open the function log for the same minute. A 403 that starts with “You can only send testing emails to your own email address” is the test sender. A 403 that says the domain is not verified means the from domain is not a verified domain on that Resend account. A 401 “Missing API Key” or “API key is invalid” is the key. If a row exists, read its event: sent, delivered, bounced, complained, suppressed, failed, or delivery_delayed. The message’s menu has View log for the API request itself.
  3. For Supabase Auth, open Logs, set Log Type to Auth, and search the event message for email_address_not_authorized or over_email_send_rate_limit.
  4. For Lovable’s own email product, open More → Emails. The domain status has to be Active. Email activity on that screen lists recent messages for the project, with the error on a failed one. Analytics and logs also shows Sent, Delivered, and Bounced for the domain.

Fix the sender that is actually running

The from address is still onboarding@resend.dev

Resend’s error reference documents the 403 in full: “You can only send testing emails to your own email address,” then an instruction to verify a domain at resend.com/domains and change the from address to an email on that domain. Lovable’s connector docs say the same thing about onboarding@resend.dev: it delivers only to the Resend account owner, and Resend rejects everyone else. That is why your inbox works and a new user’s does not.

  1. In the Resend Dashboard, open Domains and click Add Domain. Resend recommends a subdomain such as notifications.example.com so transactional mail does not share reputation with other mail on the root domain.
  2. Add every record on that domain’s Records tab at the DNS host. Resend’s setup guide says those are the DKIM and SPF records, as TXT and MX, or as CNAME, and that they have to match exactly. When the record is a CNAME, leave proxying off. Cloudflare’s orange cloud stops verification from finishing.
  3. Wait until the domain shows verified. Resend says this often happens within 15 minutes, and that DNS can take up to 72 hours. If it is still pending after 72 hours, confirm the records are visible publicly and use Restart verification in the Dashboard. Resend points at its dns.email tool for that check.
  4. Send from an address on the domain you verified. Any address at a verified domain works. If you verified only notifications.example.com, mail from hello@example.com is refused with the 403 that the domain is not verified.

Resend does not have a sandbox, and it does not issue a test key that is separate from a production key. A free account can send as soon as a domain you control is verified. The address that only reaches you is onboarding@resend.dev.

The domain is added, and SPF, DKIM, or DMARC is not finished

SPF and DKIM are what Resend checks before it marks the domain verified. Until that status is verified, a from address on the domain is refused with the 403 that says the domain is not verified. That refusal is separate from the test sender: onboarding@resend.dev still only reaches the account owner, whether or not a domain is sitting on Pending. Resend’s domain guide says to add DMARC after verification. DMARC is a TXT record at _dmarc. Resend suggests starting with p=none so you can see failures in reports before you move the policy to quarantine or reject. A DMARC record does not stand in for the SPF and DKIM records, and it does not verify a domain that is still pending.

Lovable’s own email product is a different setup, and it does not use a Resend API key. Lovable configures SPF, DKIM, and DMARC, and mail from your domain starts once the sender status is Active in More → Emails. DNS there can take up to 72 hours. Needs attention means the records changed after setup. Until the project’s email sending is active, authentication mail goes through a shared sender with its own stricter limit. The rate limit under More → Users → Settings → Email → Advanced does not raise that shared sender. New projects whose sending is active start at 1,000 authentication emails an hour. Lovable’s custom-email page also lists a separate hourly cap for the workspace. On Pro that is 100 app emails and 500 authentication emails an hour. Past the workspace cap, Lovable rejects new mail until the hour resets, and More → Emails warns once 80% of the hourly app-email limit is used. Custom emails require a paid Lovable plan. Disabling emails for the project sends authentication mail from the default Lovable sender again, and stops app emails. The confirmation-mail checks that sit next to this, including spam and the hourly project cap, are in My Lovable app stopped working.

Bolt’s email guide says to add the published project domain in Resend, and its example is a bolt.host hostname, then to copy Resend’s DNS records into Bolt when Bolt holds that domain’s DNS, or into the registrar when you registered the domain elsewhere. Resend’s own rule is that you verify a domain you own, not a shared or public domain. If Resend will not verify the bolt.host name, add a domain you registered and send from that.

The domain is verified, and the function still has the old from address

Resend’s Lovable guide says this directly: by default Lovable deploys using the test domain resend.dev. Once the custom domain is verified, the function does not automatically redeploy or update the sender address. You ask Lovable to update the From email to the verified domain, then redeploy the function.

  1. Search the project for onboarding@resend.dev and resend.dev. That string in the send call is the from address Resend is judging.
  2. On an older React and Vite app, the send runs in an edge function. Ask Lovable in the project chat to set From to an address on the verified domain and to deploy that function. Verifying DNS does not do this. Lovable’s edge-function docs say you can ask it to deploy chosen functions, and that restoring a version redeploys the edge functions from that version.
  3. On a Lovable app created from May 13, 2026, which uses TanStack Start, server functions are part of the app. Changes to them go live when you publish. Preview can already show the new from address while the published URL still runs the previous one.
  4. When you prompt Lovable’s Resend connector, name the from address you want, such as hello@notifications.example.com. Lovable’s connector docs say to do that so the app uses the address consistently. The connector cannot verify the domain for you. You still add the domain and the DNS records in Resend.
  5. On Bolt, the from address lives in the server function. Adding the domain in Resend does not rewrite it. Ask Bolt to send from an address on the verified domain, publish, then read the from value on the latest row in Resend → Emails.

RESEND_API_KEY is missing, or the key in production cannot send

Resend’s error list has two key failures on send. Status 401 and “Missing API Key” means the request had no Authorization: Bearer key. Status 401 and “API key is invalid” means the sending endpoint got a key that does not exist, was deleted, or is not active. There is no test-mode key to swap the way Stripe has sk_test_ and sk_live_. A key you created while trying the integration sends real mail. The usual production miss is that the running app does not have the key, or the key belongs to a different Resend account from the one where the domain is verified.

  1. On Lovable, RESEND_API_KEY is a backend secret. Lovable lists it with the other values that belong in More → Settings → Secrets, injected into edge functions, and not in a VITE_ variable. A VITE_ value is built into the browser bundle. If the project uses the Resend connector instead of a pasted key, the connection holds the credential. Deleting or revoking that key in Resend does not mark the Lovable connection expired. Sends fail with Resend’s error until you update the connection with a new key.
  2. On a TanStack Start app created from May 13, 2026, Lovable says a secret you change applies to the preview immediately, and the published app uses the new value after you publish again. The Secrets view shows a notice about that.
  3. On Bolt, open the database icon, then Secrets. The name is exactly RESEND_API_KEY. Bolt’s email guide quotes the error when it is missing: “The following secrets are used in the code but don’t exist yet: RESEND_API_KEY.” Secrets appear once the project has a database. Bolt reads the value when a server function runs. It does not write the value into the published site.
  4. Create the key in the Resend account that owns the verified domain. A sending-access key can be limited to one domain. Sending from any other domain fails even when that other domain is verified in the same account. Full access is not required for a function that only sends. Resend shows a new key once. If you no longer have it, create another and replace the secret. Do not paste the key into the project chat or into client code.

A live Stripe payment and a missing receipt are different breaks. The charge, the webhook, and the unlock are in Stripe checkout works in test mode but fails after going live. The receipt itself is the email on this page.

Supabase Auth is still on the built-in mailer

This is the path for confirmations, password resets, magic links, and invites when the app uses Supabase Auth. That includes a Bolt database and a Lovable project connected to your own Supabase project. It is separate from a resend.emails.send call in your function. Lovable’s built-in backend does not use this screen. Its auth mail is under More → Users → Settings → Email, and branded sending is under More → Emails.

Supabase’s custom SMTP guide says the built-in service is not for production. Until you configure custom SMTP, Auth refuses any address that is not on the project’s team. You manage that list in the Team tab of the organization’s settings. Other addresses fail with “Email address not authorized.” The testing guide names the code: email_address_not_authorized. The same built-in service sends 2 emails an hour for the whole project while Confirm email is on. Supabase says the number can change, and that it is currently 2. Past the cap, Auth returns 429, code over_email_send_rate_limit, message “email rate limit exceeded.” Your own tests stay under that cap. A handful of real signups do not.

  1. Verify a domain in Resend first. The sender address has to be on that domain.
  2. In the Supabase Dashboard, open Authentication → Email → SMTP Settings and turn on Enable custom SMTP. That is the path in Bolt’s guide. Supabase’s SMTP guide calls the same place the Authentication settings page. Resend’s SMTP settings are host smtp.resend.com, username resend, and password a Resend API key. Resend lists port 465 for implicit TLS and port 587 for STARTTLS. Bolt’s guide uses port 465, a dedicated key for SMTP rather than the key already used for app notifications, and a sender such as noreply@yourdomain.com on the verified domain. Bolt says a sender on any other domain will not send through Resend.
  3. After you save, Supabase imposes 30 messages an hour so the new service can build a reputation. Raise that under Authentication → Rate Limits when you are ready. The email provider’s own limits still apply.
  4. On a Bolt-managed database, claim it before custom SMTP can apply. Bolt says those databases run where custom SMTP settings do not take effect: the form can look saved while auth mail still comes from no-reply@mail.supabase.io. The claim is the database icon, then Advanced, then Claim, into your own Supabase account. Skip the claim when the project is already in your Supabase account. Bolt’s signup failures that are a Site URL or a production env var, rather than the mailer, are in Bolt app sign-up works in preview but breaks after deploy.
  5. Leave Confirm email on for a live app. Supabase says turning it off lets someone sign up with an address they do not own, marks that address confirmed, and turns off the project’s hourly email limit. If you turned it off to test, turn it back on under Authentication → Sign In / Providers before launch.

Resend’s Supabase guide also says to set a custom domain in Supabase before you go live. Auth links, including confirmation and password reset, point at the project’s supabase.co host until you do. A link host that does not match the domain you send from makes spam filtering more likely. A link that opens the preview, or a published URL missing from Redirect URLs, is the auth-URL problem in My Lovable app stopped working. The message arrived. The address inside it is wrong.

The send succeeded, and the message is in spam

A Resend event of delivered, or Delivered in Lovable’s email log, means the recipient’s mail server accepted the message. complained means it was accepted and then marked as spam. bounced means the recipient server rejected it. delivery_delayed means Resend is still retrying, for up to 14 hours, after a temporary refusal.

  1. Check the spam folder. Lovable’s email-auth docs say mail from a new or shared sender lands there often. Lovable’s custom-email guide says a newly provisioned domain starts with a neutral reputation, and that early mail may land in spam while the domain builds a history. Ask the recipient to mark a legitimate message “Not spam.”
  2. Confirm the domain Resend shows is verified, which means SPF and DKIM passed, and add DMARC if it is not there yet. Resend’s deliverability insights flag a missing DMARC record, and links in the message that do not match the sending domain.
  3. Keep the link in an auth email on the same domain you send from. The Supabase custom-domain warning above is the documented case. Lovable’s deliverability notes say the same about links that do not match the sender.
  4. Send one real test, not a batch. Resend provides delivered@resend.dev, bounced@resend.dev, and complained@resend.dev to simulate events. Those addresses do not prove a person’s inbox received anything, and they still count against the sending quota. Lovable says to limit Send test on More → Emails to a few messages to addresses you control.

Prove it with an address that is not yours

  1. Use an inbox you control that is not the Resend account email and not a member of the Supabase organization. Your own address is the one the broken setup already delivers.
  2. On the published URL, not the preview, trigger the real flow. Sign up, request a password reset, or do the action that sends the receipt.
  3. In Resend → Emails, open that message. From should be the verified domain. The event should reach delivered. Then open the inbox and the spam folder. Delivered means the mail server accepted it.
  4. If Resend has no row, read the function log for the 403 or 401. On Lovable that is More → Database → Manage → Edge functions, then the function, then View logs. On Bolt, the email guide says to review the project logs for the server-function error, including the missing RESEND_API_KEY message.
  5. For Supabase Auth, repeat the signup and open Logs with Log Type Auth. email_address_not_authorized and over_email_send_rate_limit should be gone. The message should come from the sender you configured, and the link should open the published site.
  6. On Lovable’s built-in emails, More → Emails should show Active, and the project’s email activity should list the new message.

How to catch it next time

The page customers load can return 200 for the entire time the email never arrives. A check that only fetches that URL stays green through a test sender, a missing API key, a Supabase mailer that only writes to your team, and a message sitting in spam.

The limits are the ones on the pricing section. What is BreakAlarm is the same description, including who it is for. The same class of “the page loads and the account flow does not” on Lovable is in My Lovable app stopped working, on Bolt in Bolt app sign-up works in preview but breaks after deploy, when the database is paused in Supabase project paused and the Lovable or Bolt app stopped working, and for live payments in Stripe checkout works in test mode but fails after going live. Other write-ups are on Guides.

The homepage runs one check of a public URL you are allowed to test. It opens that page, reports the HTTP status, and shows a screenshot when the page renders. It does not sign anyone up, it does not send mail, and a 200 can still pass while no user receives an email.

Run a free check on your app

FAQ

Why does my Lovable or Bolt app email me and nobody else?

Two different limits both let the builder through. Resend’s shared address onboarding@resend.dev delivers only to the Resend account owner, and Resend rejects everyone else with a 403: “You can only send testing emails to your own email address.” Supabase Auth’s built-in mailer sends only to people on the organization’s team, and only 2 emails an hour while Confirm email is on. Your address is on that team, so a test to yourself passes. A real signup does not. The page can still tell the person to check their email.

I verified a domain in Resend. Why do I still see “You can only send testing emails to your own email address”?

The deployed from address is still onboarding@resend.dev, or it uses a domain that is not the one you verified. Resend’s Lovable guide says that once the custom domain is verified, the function does not automatically redeploy or update the sender. Ask Lovable to change From to an address on the verified domain and redeploy the function. On apps created from May 13, 2026, which use TanStack Start, a server-function change goes live when you publish. If you verified updates.example.com, an address at example.com is a different domain and Resend answers with “The domain is not verified.”

Is a Resend test API key the reason production mail fails?

Resend has no sandbox and no test key. Free accounts can send as soon as a domain is verified. The testing restriction is the from address onboarding@resend.dev. A missing or bad key is a different error: 401 Missing API Key, or 401 API key is invalid when the key was deleted or is not active. On Lovable the name in Secrets is RESEND_API_KEY, or the Resend connector stores the credential. On Bolt the secret name is exactly RESEND_API_KEY. The key has to be from the Resend account that verified the domain. Revoking the key in Resend does not, by itself, mark a Lovable connection expired. Sends fail until you update the connection.

Supabase confirmations work for my team and fail for new users. What is limited?

The built-in mailer is for trying Auth, not for production. It sends only to organization team members. Other addresses fail with email_address_not_authorized and the message “Email address not authorized.” While Confirm email is on, the project can send 2 of those emails an hour. Past that, Auth returns 429 with over_email_send_rate_limit and “email rate limit exceeded.” Set up custom SMTP or a Send Email hook, then raise the limit under Authentication → Rate Limits. Saving custom SMTP starts at 30 emails an hour. On a Bolt-managed database, SMTP settings can look saved while mail still comes from no-reply@mail.supabase.io until you claim the database into your own Supabase account.

Resend says the email was delivered, and the person still has nothing. Where is it?

Delivered means the recipient’s mail server accepted the message. It can still be in spam. Complained means it was delivered and then marked as spam. Lovable’s email docs say mail from a new domain often lands in spam during the first days. Check the spam folder, confirm the domain is verified (SPF and DKIM), and add the DMARC record Resend recommends after verification. A link that still points at a supabase.co host, while the message is sent from your domain, is a mismatch inbox providers treat with suspicion. Resend’s Supabase guide says to set a custom domain for those auth links before you go live.

Will an uptime monitor or BreakAlarm notice that users never get the email?

An uptime check fetches a URL and reports the status code. The signup page can return 200 for the whole time nobody else receives mail. It does not send an email or open an inbox. BreakAlarm re-walks the steps you wrote and emails you when those steps fail. A green result only means those steps passed. If the steps stop when the page says to check email, the check stays green while Resend returned 403 and while the message sits in spam. BreakAlarm does not open the recipient’s inbox and it does not read Resend or Supabase logs. The one-off check on the homepage is a fetch of a public URL. A 200 there can pass while no user receives email.

References

Resend, Lovable, Bolt, Supabase, Stripe, and Cloudflare are trademarks of their owners. BreakAlarm is not affiliated with them.