StackMatch

Supabase sign-up emails not sending in a Lovable or Bolt app? "email rate limit exceeded" and other fixes (2026)

Prices and facts checked on each tool's official site. Plans change often, so confirm before you pay.

Users sign up for your Lovable or Bolt app and the confirmation email never arrives. Or you see email rate limit exceeded, the link opens localhost, or a magic link says it has expired the moment it's clicked. Almost all of this comes from Supabase Auth's email settings, not your app code. Here's what each symptom means and how to fix it.

Which settings apply to you: if your app uses your own Supabase project, everything below is in the Supabase dashboard. Lovable apps on Lovable's built-in backend (Lovable Cloud) have the same settings under More → Users → Settings → Email, and Bolt apps on Bolt Database have them under the database icon → Authentication. Bolt's docs say its authentication is powered by Supabase.

Match the symptom to the cause

What you seeMost likely cause
email rate limit exceeded (429, over_email_send_rate_limit)The project used up its hourly auth email limit, which is tiny on Supabase's built-in email service
For security purposes, you can only request this after N seconds.The same user asked for another email within 60 seconds
Email address not authorized (email_address_not_authorized)No custom SMTP, so Supabase only sends to your Supabase team members
Email arrives for you but not for users, or lands in spamBuilt-in sender or a new domain without SPF, DKIM and DMARC
Link in the email opens localhostSite URL is still the default http://localhost:3000
Email link is invalid or has expired or Token has expired or is invalid (otp_expired)Link older than the expiry, already used, or pre-clicked by an email scanner
Password reset says it worked but nothing arrivesNo account exists for that address (Supabase doesn't say so on purpose), or one of the causes above

1. The built-in email service is for testing only

Every Supabase project comes with a default email sender, but Supabase's docs say it's not meant for production. Two limits break real apps:

  • It only sends to your team. Without custom SMTP, Supabase Auth refuses to email any address that isn't a member of your Supabase organization's team, and the request fails with Email address not authorized.
  • 2 emails per hour. Supabase's rate limits page currently lists 2 emails per hour for the whole project with the built-in provider, and says the number can change without notice. Sign-up confirmations, magic links, password resets and invites all count. Go over it and you get email rate limit exceeded.

There's also a per-user window: by default the same user can only request a new sign-up confirmation, magic link or password reset once every 60 seconds.

2. Set up custom SMTP (the real fix)

Sign up with an email sending service, verify your domain there, and copy its SMTP host, port, username and password. Supabase lists services that work, including Resend, Postmark, AWS SES, Twilio SendGrid, ZeptoMail and Brevo. Then in Supabase open Authentication, find the SMTP settings, turn on custom SMTP, and enter those details plus a From address like no-reply@yourdomain.com. Bolt's docs walk through the same thing with Resend for Bolt Database, and Lovable Cloud apps use More → Emails to send from your own domain instead.

One catch: right after you turn on custom SMTP, Supabase sets a low limit of 30 emails per hour to protect your new sender. Raise it under Authentication → Rate Limits to fit your traffic.

3. Links that open localhost: Site URL and Redirect URLs

In Supabase, open Authentication → URL Configuration. The Site URL is where users land after clicking a confirmation or password reset link when your code doesn't pass its own redirect. Supabase's docs say to change it from http://localhost:3000 to your production URL and call it critical for email confirmations and password resets. If your code passes emailRedirectTo or redirectTo, that address must also be in the Redirect URLs list, or Supabase falls back to the Site URL. Add your published URL and custom domain. Wildcards like https://**--yourteam.netlify.app/** help for preview links, but Supabase recommends exact URLs in production.

4. Check the email templates

Templates live on the Email Templates page in Supabase. The confirm sign-up, magic link, reset password, invite and change email templates should contain {{ .ConfirmationURL }}, which Supabase fills in with the full verify link, or {{ .Token }} for a 6-digit code. If an AI edit hard-coded a URL or removed that variable, the email arrives with a broken or missing link. If your code uses redirectTo and the template builds its own link from {{ .SiteURL }}, Supabase's docs say you may need {{ .RedirectTo }} instead. Keep templates short and plain: Supabase advises against marketing content, many links and many images in auth emails because spam filters notice.

5. Expired links and email scanners

Magic links and email OTPs expire after 1 hour by default, and Supabase notes the same Email OTP Expiration setting also covers confirmation, password reset, email change and invite links. Each link works once. Some providers' security tools (Supabase names Safe Links in Microsoft Defender for Office 365) open links in incoming emails before the user does, which uses up the link and shows Token has expired or is invalid. Supabase's fixes: send a code with {{ .Token }} and verify it with verifyOtp, or link to a page in your app with a button that does the confirming. Also turn off click tracking at your email provider, because Supabase says tracking rewrites the links and breaks them.

6. Turning off "Confirm email" while testing

On hosted Supabase, users must confirm their email before signing in by default. You can switch that off on the Email provider settings (under Authentication → Sign In / Providers) so you can test without an inbox. Lovable Cloud calls it Auto-confirm email, and Bolt has a checkbox to require confirmation. Turn it back on before launch. Supabase warns not to disable confirmations under pressure, and Lovable's docs note that without it anyone can sign up with an address they don't own.

7. Read the Auth logs, then the email provider's logs

Supabase's troubleshooting guide says to check your project's Auth logs first: errors handing the email over to your SMTP provider show up there, usually from a wrong host, port, username or password. Once the provider accepts the email, Supabase has no control over delivery, so the next stop is your provider's logs. A past bounce can put an address on the provider's suppression list, and some company email firewalls quarantine messages with words like password reset or verification link.

8. Spam folder basics: SPF, DKIM and DMARC

Supabase recommends setting up DKIM, DMARC and SPF for your sending domain with your email provider, which significantly improves deliverability. Your provider gives you the DNS records to add when you verify the domain. Also keep auth emails separate from newsletters or marketing (a separate sending subdomain such as auth.yourdomain.com is Supabase's example), so a bad marketing send can't drag down your sign-up emails.

What to paste into Lovable or Bolt

Users aren't receiving [sign-up confirmation / magic link / password reset] emails. The error is [exact message]. Don't change any code yet. First tell me: is custom SMTP set up for auth emails, what the Site URL and Redirect URLs are, what redirect URL the code passes to signUp, signInWithOtp or resetPasswordForEmail, and whether the email templates still contain {{ .ConfirmationURL }} or {{ .Token }}. Then list the fixes in order. Don't turn off email confirmation and don't put any secret key in browser code.

When it's time to get help

Often it's just custom SMTP and the Site URL. Get a second pair of eyes when:

  • You set up SMTP and emails still don't arrive.
  • Real users are signing up and getting stuck.
  • The AI keeps rewriting your sign-up flow and something new breaks each time.
  • You're about to launch and want the whole app checked.
OptionPriceWhat you get
App Audit$49 one-timeA plain-English written fix list for your sign-up emails and anything else that breaks, within 3 business days
Payments Live$199 one-timeStripe payments wired into your app and tested with test cards before going live
Launch Pack$499 one-timeAgreed bug fixes, Stripe payments, and your app published on your own domain with HTTPS

We confirm the scope by email before any work starts, and you can ask questions first without paying. Never send anyone your password, your Supabase secret key or your SMTP password.

Related guides

Sources

FAQ

Why does my Supabase app say "email rate limit exceeded"?

Your project hit its limit on auth emails. With Supabase's built-in email service that limit is currently 2 emails per hour for the whole project, so a couple of test sign-ups or password resets use it up. The fix is to set up custom SMTP, then raise the email limit on the Rate Limits page.

Why do confirmation emails only reach me and not my users?

Without custom SMTP, Supabase only sends auth emails to members of your Supabase organization's team. Every other address fails with "Email address not authorized". Supabase says the built-in service is for testing and demos only, so set up custom SMTP before real users sign up.

Why does the confirmation link in my email open localhost?

The Site URL in Supabase's URL Configuration is still the default http://localhost:3000. Supabase uses it when your code doesn't pass a redirect URL. Change it to your published address and add any other addresses you use to the Redirect URLs list.

Why does the magic link say it's invalid or expired as soon as the user clicks it?

Either it really expired (email links last 1 hour by default) or an email security scanner, such as Microsoft Defender Safe Links, opened the link before the user did and used it up. Supabase suggests sending a 6-digit code with {{ .Token }} instead, or linking to a page with a confirm button.

Some links are referral links; we may earn a commission at no extra cost to you. It never changes our recommendations.

Newsletter

Get the monthly "which AI tool" email

One short, beginner-friendly email a month. No spam.

Form not showing? Subscribe here