← All guides

Supabase Confirmation Email Not Sending? How to Fix It in Lovable and Bolt

SupabaseLovableBolt

A user signs up or asks to reset a password in your Lovable or Bolt app, and the confirmation or reset message never shows up. The form may look successful, or Auth may return email rate limit exceeded. Another refusal is email_address_not_authorized. Until you know whether the message was refused, rate-limited, handed to a provider, or sitting in spam, retrying the form or asking the AI to “fix email” will not help.

This guide covers how to tell which backend is sending the mail, how to read the Auth logs, and how to move off Supabase’s built-in sender using either Lovable Emails or custom SMTP with Resend. If the message shows up and the confirmation link points at localhost, use Supabase auth redirecting to localhost. Related: Is my AI-built app production-ready?. Tool pages: /fix/supabase, /fix/lovable, /fix/bolt.

First: which system is sending the email?

Auth messages (confirm signup, password reset, magic link, invite, email change) do not all leave from the same place.

Lovable Cloud (the built-in backend). Lovable Auth sends those messages. The default sender is Lovable’s own address on a free plan. Sending them from a domain you own is done in More → Emails, and Lovable’s docs say that feature needs a paid plan. Authentication messages from your domain also need the built-in backend; if you connected a Supabase project of your own, Lovable Emails will not take over those auth messages (Lovable: custom emails, Lovable: Connect to Supabase).

A Supabase project you own, including one connected to Lovable or Bolt. SMTP and rate limits live in that project’s Supabase dashboard, under Authentication.

A Bolt-managed database. Bolt’s docs say auth mail goes through Supabase’s default sender until custom SMTP is configured, and that setup only applies after you claim the database into a Supabase account you control. Saving SMTP settings on a still-managed project looks successful, but messages keep leaving from Supabase’s address (Bolt: send emails, Bolt: authentication).

How to tell on Lovable: the More panel’s Database, Users and Storage views mean you are on the built-in backend. More → Supabase showing a connected project name means auth settings belong in that Supabase dashboard (Lovable: Connect to Supabase).

Read the Auth logs before you change settings

Supabase’s troubleshooting page says to start with the project’s Auth logs, looking for errors that happen when Auth hands the message to an email provider (not receiving auth emails). After a successful handover, Supabase no longer controls whether the inbox accepts the message — check the provider’s logs next, then spam and any mail firewall.

For Supabase Auth (including a Bolt database), use this map; Lovable Cloud has its own Emails logs and limits below.

What you seeMeaningNext step
email_address_not_authorized or “Email address not authorized”Built-in sender refused an address that is not on the project’s organization teamConfigure custom SMTP for this Supabase project
HTTP 429, code over_email_send_rate_limit, message email rate limit exceededThe Supabase project hit its send capWait, or configure custom SMTP (or a Send Email hook) and review Authentication → Rate Limits
SMTP or handover errors in Auth logs after you enabled custom SMTPSMTP configuration or the provider rejected the handoverCheck the SMTP fields and the provider dashboard for the specific failure
email_address_invalidThe address uses an example or test domain Auth rejectsSign up with a real inbox
No Auth error, and the provider accepted the sendDelivery is now with the inbox or a spam filterCheck spam; the built-in sender uses the supabase.io domain

On Lovable Cloud, delivery metrics and a project activity log also live under More → Emails once a sending domain is connected (Lovable: custom emails).

Why do only my emails arrive?

Supabase’s built-in SMTP delivers solely to members listed in the organization’s Team settings. A teammate who is on that list receives the message; Auth rejects the send to anyone else with email_address_not_authorized (custom SMTP; error codes).

What does “email rate limit exceeded” mean?

On the built-in sender, a hosted project can dispatch two messages in any hour, counted across every user, for as long as Confirm email stays enabled. Crossing that cap produces HTTP 429. The error code is over_email_send_rate_limit; the text is email rate limit exceeded (testing auth flows; rate limits). Supabase notes that this built-in cap can change without notice (custom SMTP).

After you enable custom SMTP, Supabase applies a separate starting cap of 30 messages per hour (its production checklist describes this as 30 new users per hour) until you increase that cap under Authentication → Rate Limits (custom SMTP; going into production). Resend’s Supabase integration page currently quotes a default of 25 per hour; trust the number shown on your project’s Rate Limits page (Resend and Supabase).

A third cap is per user: signup confirmation, password reset and OTP or magic-link requests default to a 60-second wait before the same user can request another message (rate limits).

The built-in sender is a development helper

Supabase provides a default SMTP service so you can try Auth and preview templates with the project team. It is not intended for production traffic: it refuses non-team addresses, it is capped at 2 messages per hour, and Supabase describes it as a best-effort path with no production delivery commitment (custom SMTP; troubleshooting). Bolt’s authentication page repeats the 2-per-hour project cap for Bolt Database (Bolt: authentication).

The troubleshooting page also notes that mail from the default provider can land in spam, and that some mail servers block the supabase.io sending domain (troubleshooting).

On Lovable Cloud: send auth mail through Lovable Emails

If the app still uses Lovable’s built-in backend, skip pasting Resend SMTP settings into a Supabase dashboard you may not fully control. Lovable’s own path for branded authentication messages is More → Emails (or ask in the project chat to set up emails) (Lovable: custom emails).

That page walks you through adding a domain you own, reviewing the sender address (Lovable suggests a notify subdomain such as noreply@notify.yourdomain.com for domains it does not already manage), and completing DNS. Lovable configures SPF, DKIM and DMARC and keeps checking those records. The feature is listed as available on paid plans; free workspaces keep the default Lovable auth sender (Lovable: custom emails).

Generate the six built-in auth templates from the Auth emails tab; you can do this while DNS verification is pending (confirm signup, password reset, invite, magic link, email change, reauthentication). Leave the authentication variables and callback links intact.

Lovable documents separate hourly caps for app mail and authentication mail, plus a workspace monthly allowance:

PlanApp emails per hourAuthentication emails per hour
Pro100500
Business3003,000
Enterprise1,00010,000

Lovable’s docs give paid workspaces an included allowance of 50,000 transactional messages each month, with extra volume billed in credits (4 credits per 1,000 emails). Authentication mail also has a per-project “Rate limit for sending emails” you can adjust yourself. Crossing an hourly cap causes new sends to be rejected until the hour resets (Lovable: custom emails).

Lovable’s Resend connector is a different tool: it sends product and marketing mail through your Resend account. Lovable’s docs tell you to use built-in Lovable Emails for standard transactional messages such as signup confirmations and password resets (Lovable: Resend).

Why are emails going to spam?

New sending domains start without a reputation. Lovable says early test messages can land in spam, DNS must stay valid (status Active), and sudden bulk tests hurt more than a small number of real user-triggered sends. Keep subject lines plain, avoid promotional copy in auth messages, and use More → Emails analytics to watch bounces (Lovable: custom emails).

On a Supabase project that still uses the default sender, move to your own domain (next section) so messages no longer come from supabase.io.

On your own Supabase project: connect custom SMTP

This path applies when Lovable or Bolt is connected to a Supabase project you own, or after you claim a Bolt-managed database.

Claim a Bolt-managed database first

Custom SMTP requires the Supabase project to sit under your own Supabase account. In Bolt: database icon → Advanced → Claim, then finish the transfer to supabase.com (allow popups). Bolt’s docs warn that SMTP settings on a still-managed database appear to save, yet auth messages still leave from Supabase’s default address (Bolt: send emails). Skip this if the project is already linked to your own Supabase account.

Verify a sending domain in Resend

For Resend, verify a domain you own before sending to recipients beyond your account owner. In Resend: Domains → Add Domain, add the DNS records it shows, and wait until the domain shows as verified. Resend recommends a subdomain such as updates.example.com rather than the root domain, and its docs give a wait of 5 to 10 minutes for verification (Resend and Supabase). Mail sent from Resend’s shared test address onboarding@resend.dev reaches the Resend account owner and nobody else (Lovable: Resend).

The From address you later put in Supabase must use that exact verified domain.

Connect Resend as the SMTP server

Two official options:

  1. Resend’s Supabase integration. In Resend, open Integrations, connect to Supabase, pick the project and domain, and let Resend configure SMTP (Resend and Supabase).
  2. Manual SMTP in the Supabase dashboard at Authentication → Emails → SMTP Settings (production checklist). Bolt writes the same screen as Authentication → Email → SMTP Settings (Bolt: send emails). Enable custom SMTP and enter:
FieldValue
SMTP hostsmtp.resend.com
Port465 (Resend also documents 25, 587, 2465 and 2587)
Usernameresend
Passworda Resend API key
Sender emailan address on the verified domain, for example no-reply@auth.yourdomain.com
Sender nameyour app’s name

(Resend: send with SMTP; Bolt: send emails)

Create a dedicated API key for SMTP rather than reusing a key your app already stores for product emails, which is what Bolt recommends (Bolt: send emails).

Save the settings, then trigger a password reset or a signup from an address that is not on your Supabase team, and confirm the message in that inbox and in Resend’s email log.

Raise the hourly send limit

After custom SMTP is on, open Authentication → Rate Limits and set the email-send limit to a number that matches your launch. Leave the 60-second per-user windows in place unless you have a reason to change them (rate limits; custom SMTP).

Supabase also recommends CAPTCHA on the sign-up, login and recovery forms so bots cannot burn your new sending reputation. Open Settings → Authentication, then Bot and Abuse Protection, and turn on the Enable CAPTCHA protection toggle. Pass the resulting token into signUp as options.captchaToken (CAPTCHA protection; custom SMTP).

Do not respond to a flood of fake signups by switching Confirm email off. Supabase’s SMTP guide lists that as a goal of some attacks (custom SMTP).

If the SMTP provider rewrites confirmation links for tracking, those links can stop working. Disable that tracking for authentication messages (production checklist; email templates).

Work with your provider to keep DKIM, SPF and DMARC in place on the sending domain. Supabase also suggests keeping authentication mail on a separate sending domain from marketing mail (custom SMTP).

If the user receives the message and the link opens http://localhost:3000 (or another unexpected host), that is a Site URL / redirect allow-list problem, not a sending problem. Follow Supabase auth redirecting to localhost.

A different failure: some corporate mail scanners prefetch the confirmation URL. Supabase links are single-use, so the user then sees an expired or invalid token. Supabase’s template docs describe two workarounds: include the one-time code ({{ .Token }}) instead of relying on the raw link, or send users to a page you control that only follows {{ .ConfirmationURL }} after they click a button (email templates; production checklist).

If a password reset link opens your app but the new password won’t save, or the link works only on the device that requested it, see Supabase reset password not working.

App emails are a separate setup

Order confirmations, “someone submitted the contact form” alerts and other product mail are not sent by Supabase Auth. The AI can add a Resend call for product mail while signup confirmations still go through Auth SMTP. Those are separate paths.

  • Lovable Cloud: use Lovable Emails for those product messages as well, or the Resend connector when you need Resend’s own tooling. Store no API key in frontend code.
  • Your own Supabase project: an Edge Function can call Resend’s API. Keep the key in the project’s secrets (Lovable prompts for it; never commit it) (Lovable: Connect to Supabase; Resend and Supabase).
  • Bolt: store RESEND_API_KEY under the database Secrets panel. A missing secret surfaces as The following secrets are used in the code but don't exist yet: RESEND_API_KEY. That error is about app or server-function mail, not Auth SMTP (Bolt: send emails).

Don’t turn off Confirm email to “fix” missing messages

Supabase’s testing guide allows switching Confirm email off so local or hosted tests can sign in without waiting for mail. If you do that, a visitor can create an account using an address they do not control, and Supabase records the address as already confirmed. The same switch also removes the project’s hourly email cap. Re-enable Confirm email on the Authentication → Sign In / Providers page prior to launch (testing auth flows).

Lovable’s Supabase integration tip matches this for test accounts: disable confirmation while you try the flow, then re-enable it before real users arrive (Lovable: Connect to Supabase). On Bolt Database, look in the Email provider settings for the option that requires a confirmation step after signup (Bolt: authentication).

Is Resend free for this?

Resend’s pricing page lists a free transactional plan at $0 per month with 3,000 emails per month and a cap of 100 emails per day. SMTP relay is included. Paid plans raise or remove the daily cap. Check Resend’s pricing for the live numbers before you launch, because plan limits change.

Can I turn off email confirmation?

Yes, as a temporary testing switch — see above. It is not a production substitute for working SMTP or Lovable Emails.

When the logs still don’t explain the missing mail

If Auth logs, the provider dashboard and the spam folder still disagree, or SMTP settings save but nothing reaches an inbox outside your team, a senior engineer can trace the handover and put domain, SMTP and templates in place. Fixed price, agreed upfront.

Comments

Add a comment

Generated for you. Click to type your own.

Required. Never shown on the page. Privacy policy.

Basic markdown: **bold**, *italic*, `code`, lists, quotes, and fenced code blocks. HTML shows as plain text.

Your draft stays on this device until you post.