The messages and what they mean
| Message | HTTP / code | Meaning |
|---|---|---|
Error sending confirmation email (also magic link, recovery, invite, email change) | 500 unexpected_failure | The send failed. A generic wrapper: the real reason is in the Auth logs |
email rate limit exceeded | 429 over_email_send_rate_limit | The project's hourly email limit is used up |
For security purposes, you can only request this after N seconds. | 429 over_email_send_rate_limit | Per-user cooldown between emails |
Email address "x" cannot be used as it is not authorized | 400 email_address_not_authorized | The built-in sender only mails pre-authorized addresses |
These come back as an AuthApiError from signUp, signInWithOtp, resetPasswordForEmail or resend.
Fix 1: stop using the built-in sender
Supabase's docs on the default provider: "2 messages per hour", "Send messages only to pre-authorized addresses", "not meant for production use", "No SLA guarantee". Any real user who signs up will hit it.
- Dashboard, Authentication, SMTP: enter your provider's host, port, username, password and sender address (any transactional email service works).
- Dashboard, Authentication, Rate Limits: once custom SMTP is on, Supabase starts you at "a low rate-limit of 30 messages per hour". Raise it to what your sign-ups need.
- Send a test sign-up and check the Auth logs.
Fix 2: read the Auth logs
Any send failure that isn't a rate limit is reported to the app as the same generic 500. Supabase's guidance: "check your project's Auth logs". Typical findings: wrong SMTP host or port, a rejected login, or a sender address your provider hasn't verified. Supabase notes "handover issues can occur due to misconfiguration of the custom SMTP provider".
Less often the 500 wraps a database problem such as "Database error creating confirmation token", for example a misbehaving trigger on auth.users. The logs show which.
Fix 3: you're hitting a rate limit
- Project email limit: the hourly limit above (2 with the built-in sender, 30 at first with custom SMTP).
- Per IP: 30 requests per 5 minutes on sign-up, OTP, magic link, recovery and resend.
- Per user: a 60-second window between confirmation or recovery emails. That's the "only request this after N seconds" message: wait and retry, and disable the resend button in your UI for 60 seconds.
The email arrives but the link fails
Dashboard, Authentication, URL Configuration holds the Site URL and the Redirect URLs list. Supabase: "The URL in redirectTo should match the Redirect URLs list". Add every URL your app runs on, including preview deployments, for example https://*-your-team.vercel.app/** on Vercel or https://**--your-site.netlify.app/** on Netlify. If your email template uses {{ .SiteURL }}, switch to {{ .RedirectTo }} so links go back to where the user signed up.
Built with Lovable?
On Lovable Cloud the email rate limit is under More, Users, Settings, Email, Advanced. Lovable's docs say new projects start at 1,000 an hour once email sending is active, and that without custom emails, "authentication emails go through a shared sender with its own strict limit". If sign-in works in the preview but fails on the published app, add the published URL to the redirect URLs.
Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review
FAQ
Why does Supabase say Error sending confirmation email?
Usually because the project uses the built-in email sender, which allows 2 emails an hour to pre-authorized addresses only. Set up custom SMTP. For any other failure, the reason is in the project's Auth logs.
How many emails can Supabase send per hour?
The built-in sender allows 2 per hour. With custom SMTP the limit starts at 30 per hour and you can raise it in Authentication, Rate Limits.
What does email rate limit exceeded mean in Supabase?
A 429 over_email_send_rate_limit error: the project's hourly email limit is used up, or the same user asked for another email within the 60-second window.
Why does my Supabase confirmation link go to the wrong site?
The redirectTo URL isn't in Authentication, URL Configuration, Redirect URLs, or the email template uses {{ .SiteURL }} instead of {{ .RedirectTo }}.
Related errors
Sources
Read 2 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.
- Supabase docs: Send emails with custom SMTP: supabase.com/docs/guides/auth/auth-smtp
- Supabase docs: Auth rate limits: supabase.com/docs/guides/auth/rate-limits
- Supabase docs: Auth error codes: supabase.com/docs/guides/auth/debugging/error-codes
- Supabase troubleshooting: Not receiving Auth emails: supabase.com/kb/troubleshooting/not-receiving-auth-emails-from-the-supabase-project-OFSNzw
- Supabase docs: Redirect URLs: supabase.com/docs/guides/auth/redirect-urls
- supabase/auth source: internal/api/mail.go (error messages): github.com/supabase/auth/blob/master/internal/api/mail.go
- Lovable docs: Email authentication: docs.lovable.dev/features/email-auth
- Supabase RLS checker: find tables with RLS off or policies that let anyone read or write
- Exposed API key checker: find API keys committed to a repo or shipped to the browser
- reviewready CLI: one command that checks an AI app repo before it ships