Lovable email verification not working: signup confirmation emails not arriving

Updated · by Zane

Where a confirmation email can fail

When someone signs up, your backend creates the account and sends an email with a link. The account stays unconfirmed until they click it. So "verification not working" can mean the email was never sent, was sent somewhere unseen, or was received but the link failed. The fixes differ, so start by looking at what the person actually sees.

  • No email at all, even after a few minutes: steps 2 to 4.
  • Email arrives, the button opens localhost or a preview page: step 5.
  • Email arrives, the link says it is expired or invalid: step 5.
A confirmation email can fail at several points between sign-up and the click on the link. Below are the error messages and states this guide covers, and what each one points to.

Step 1: check which backend you use

Lovable's documentation separates two cases. Apps on the built-in backend (Cloud) manage email settings in Lovable, under More, then Cloud, then Users, then Auth settings, then Email. Apps connected to your own Supabase project manage authentication in Supabase instead. The steps below say which one they apply to.

Step 2: Lovable Cloud, check limits and settings

  1. Open More, then Cloud, then Users, then Auth settings, then Email.
  2. Confirm Auto-confirm email is off for a real app (confirmation required) and that you are not testing with a fake address.
  3. Open Advanced and look at Rate limit for sending emails. Lovable's documentation says it caps how many authentication emails your project sends per hour, and that it is the first thing to check when many signups happen at once.
  4. Open More, then Cloud, then Emails. Lovable says a warning appears there once the workspace has used 80 percent of an hourly limit.

Lovable also lists per-workspace hourly caps for authentication emails by plan (Pro 500, Business 3,000, Enterprise 10,000 at the time of writing), and says new emails are rejected until the hour resets. To raise your own project limit, its documentation says you first need email sending set up, either managed email or a verified custom domain.

Step 3: your own Supabase project, the default service is only for testing

Supabase's documentation says its built-in email service only delivers to addresses that belong to your project's team. Other addresses fail with the message Email address not authorized. It also says the built-in service is limited to 2 messages per hour, and is not meant for production. When that limit is hit, the error code is over_email_send_rate_limit.

The fix is custom SMTP, which means connecting a real email sending service. Supabase lists Resend, AWS SES, Postmark, SendGrid and others as working options. Once saved, Supabase says all addresses are allowed, but starts at a low limit of 30 messages per hour that you can raise on the Rate Limits page in the Authentication settings.

With Resend, its documentation lists the values below. It says to open Authentication, then Email, then SMTP Settings in Supabase, and to have a verified domain in Resend first.

Resend SMTP values (sketch of what to paste)
# Sketch: Resend values to paste into Supabase (Authentication, Email, SMTP Settings)
Host:      smtp.resend.com
Port:      465
Username:  resend
Password:  <your Resend API key>
Sender:    no-reply@auth.yourdomain.com   # a sender on a domain verified in Resend

Step 4: sending from your own domain

If you set up your own sending domain, the emails only go out when its DNS records pass. SPF and DKIM are the two records that prove an email really comes from your domain.

On Lovable Cloud

  1. Open More, then Cloud, then Emails and check the domain status. Only Verified can send. Lovable's documentation says Offline means required DNS records were changed or removed after verification.
  2. Recheck the records shown there against your DNS provider. Lovable says to add the NS records as records inside your DNS zone for the sender subdomain, and never to replace your domain's nameservers at the registrar, which would take your website and email offline.
  3. Wait: DNS changes usually take a few hours and can take up to 72 hours. Use Verify domain under Manage domains to start a new check.
  4. Emails are a paid-plan feature according to Lovable's documentation, so confirm your workspace plan too.

With Resend

  1. In Resend, open Domains and check that your domain shows as verified. Resend says it often verifies within 15 minutes and can take up to 72 hours, and offers a Restart verification button after that.
  2. Copy the SPF and DKIM records exactly as Resend shows them into your DNS provider.
  3. If your DNS is on Cloudflare, Resend says not to proxy a CNAME record (no orange cloud), because that stops verification from completing.
  4. Send from an address on that verified domain, such as the sender you entered in Supabase.

New sending domains start with no reputation. Lovable's documentation says test emails may land in spam for the first few days, and that sudden bursts of test emails hurt. Send a handful of tests to addresses you own, not dozens.

Step 5: the email arrives but the link fails

  • The link opens localhost or a preview address: Site URL and Redirect URLs are wrong. Follow login redirects to localhost after publishing. For the Lovable settings screen, see Site URL and Redirect URLs under Auth settings, Advanced.
  • The link says "Token has expired or is invalid" right away: Supabase's documentation says some email providers scan links before the person opens the message, and that this uses the link up. Microsoft Defender for Office 365 Safe Links is its example. Request a new email and click it straight from the inbox. The same cause is explained for resets in password reset link not working.
  • You edited the email template: Lovable warns that required variables and callback links must remain, or login flows break.

Test the fix

  1. Open your real domain in a private window and sign up with a new address you control (a plus address such as you+test1@gmail.com works with Gmail).
  2. Wait a minute, then check the inbox and spam folder.
  3. Click the link and check you land on your real site, signed in or asked to log in.
  4. In Cloud, open Emails and look at the activity log: it shows each email's status and error messages for failures.
  5. Try once more with an address at a different provider.

Related

If Google login is the easier route for your users, see Google sign in redirect_uri_mismatch.

FAQ

A user is stuck as unconfirmed. How do I get them in?

Lovable's documentation says signing in again does not resend the email, but signing up again with the same address triggers a new confirmation email. You can also create the account for them under More, then Cloud, then Users, with Add user and Create new user. Accounts made that way are confirmed automatically.

Should I turn on auto-confirm to make the problem go away?

Only while testing. Lovable's documentation says that without confirmation anyone can sign up with an address they do not own. Fix the sending problem instead, then keep confirmation on for the live app.

Why do my test emails land in spam?

Lovable's documentation says emails from new domains often land in spam while the domain builds a reputation, and that this can take days to weeks. Keep the domain Verified, avoid sending bulk test emails, and mark real ones as Not spam.

Is the 2 emails per hour limit the same on Lovable Cloud?

No. The 2 per hour figure is from Supabase's documentation for its built-in email service. Lovable Cloud has its own limit, shown as Rate limit for sending emails under Advanced in the Email settings, plus hourly caps per workspace on the plans that include Emails.

Checklist

Still stuck?

Send me the app link and what's broken. The first look is free and you get a fixed quote before I touch anything.

Related guides