Supabase confirmation, magic link or password reset emails not sending
Published
The error
email rate limit exceeded (429 over_email_send_rate_limit) / Email address not authorized / signup works but no confirmation email arrives
Why it happens
Out of the box, Supabase Auth sends emails through a built-in SMTP server that is only meant for testing. It refuses to send to anyone who isn't a member of your Supabase organisation's team (the 'Email address not authorized' error) and it is limited to a very small number of messages per hour (Supabase's docs currently say 2 per hour), with no delivery guarantee. Apps built with Lovable, Bolt, v0, Cursor or Replit usually ship with that default, so sign-up confirmations, magic links, invites and password resets work for the builder and silently fail for real users. Other causes: emails landing in spam because there's no SPF/DKIM on a sending domain, and the confirmation link pointing at the wrong Site URL.
How to fix it
- Check what actually happened: Supabase Dashboard → Logs → Auth logs show whether the email was attempted and the exact error (rate limit, not authorized, or SMTP failure).
- Set up a custom SMTP provider (Resend, Postmark, AWS SES, SendGrid, Brevo or ZeptoMail) and enter its host, port, username, password and a From address such as no-reply@yourdomain.com in Supabase's Authentication settings under SMTP.
- Verify your sending domain with that provider and add the SPF, DKIM and DMARC DNS records it gives you, so messages don't land in spam.
- After enabling custom SMTP, Supabase starts you on a low email rate limit (30 per hour per the docs). Raise it on the Authentication → Rate Limits page to suit your traffic.
- Confirm the Site URL and Redirect URLs in Authentication → URL Configuration point at your live domain so the email links work.
- Turn on CAPTCHA protection for sign-up so bots can't burn your email quota or damage your sending reputation. Don't disable email confirmation just to make the problem go away.
Fix prompt (paste into Lovable, Bolt, Cursor, Replit or v0)
Users of my app don't receive Supabase confirmation, magic link or password reset emails (errors like 'email rate limit exceeded' or 'Email address not authorized'). Don't disable email confirmation and don't touch RLS. Walk me through configuring custom SMTP for Supabase Auth with <PROVIDER, e.g. Resend>, list the exact SMTP host, port and username to enter, the DNS records I need for SPF/DKIM/DMARC on my sending domain, and the rate limit I should set. Then update the app so sign-up, resend-confirmation and password-reset calls show the user a clear message when Supabase returns a 429 or another auth error, and check that emailRedirectTo / redirectTo use my production URL from an env var instead of localhost.
Error codes this fixes
over_email_send_rate_limit (429)(Supabase Auth)
FAQ
Why do emails reach me but not my users?
The default Supabase SMTP only delivers to members of your project's organisation team. Everyone else gets 'Email address not authorized' until you add custom SMTP.
Can I just raise the default rate limit?
Not meaningfully. The built-in sender is for testing only. Custom SMTP is the fix, and then you can raise the limit on the Rate Limits page.
Is there a free option?
Several providers, including Resend and Brevo, have free tiers that cover a small app's auth emails. Check their current limits before launch.
The email arrives but the link opens localhost.
That's a Site URL / redirect problem, not SMTP. See the Supabase auth redirect to localhost fix.
Sources
Based on the official documentation:
Related fixes
- Login rate limit only counts per email: credential stuffing gets through
- App emails (sign-up, password reset, receipts) land in spam: fix SPF, DKIM and DMARC
- Magic link / OAuth login redirects to localhost:3000
- Error 400: redirect_uri_mismatch (Google sign-in)
Get one new fix a week
Free newsletter: the newest breakages in Lovable, Bolt, Cursor, Replit and v0 apps, with paste-in fixes.
We only use your email to send the newsletter. Unsubscribe any time. See privacy.