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.
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
- Open More, then Cloud, then Users, then Auth settings, then Email.
- Confirm Auto-confirm email is off for a real app (confirmation required) and that you are not testing with a fake address.
- 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.
- 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.
# 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 ResendStep 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
- 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.
- 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.
- 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.
- Emails are a paid-plan feature according to Lovable's documentation, so confirm your workspace plan too.
With Resend
- 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.
- Copy the SPF and DKIM records exactly as Resend shows them into your DNS provider.
- If your DNS is on Cloudflare, Resend says not to proxy a CNAME record (no orange cloud), because that stops verification from completing.
- 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
- 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.comworks with Gmail). - Wait a minute, then check the inbox and spam folder.
- Click the link and check you land on your real site, signed in or asked to log in.
- In Cloud, open Emails and look at the activity log: it shows each email's status and error messages for failures.
- 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
- Bolt.new Stripe webhook not working after deploying to Netlify (404 or no upgrade)
- Lovable custom domain with Cloudflare: fix "too many redirects" (ERR_TOO_MANY_REDIRECTS)
- Lovable custom domain not working: stuck pending, no SSL, or www fails
- Lovable Google sign in showing redirect_uri_mismatch or an unverified app warning
- Base44 custom domain stuck on Pending verification
- Base44 payment succeeded, but the customer was not upgraded
- Lovable Stripe checkout: "Edge Function returned a non-2xx status code"
- Lovable password reset link not working or sending users to the wrong page
- Replit custom domain not working: stuck on Verifying or showing a blank page
- Is your Supabase data public? A two-minute RLS check
- Blank white page after publishing your AI-built app
- “No such price” when going live: Stripe test and live mode mixed up
- Stripe payment succeeded but the user is still on the Free plan
- Subscription cancelled in Stripe but the user still has the paid plan
- Stripe webhook signature verification failed (400): causes and fix
- Login sends users to localhost or the preview URL after publishing
- Supabase update returns no error but nothing changes