Supabase sign-up fails: "email rate limit exceeded"

AuthApiError: email rate limit exceeded (HTTP 429, code over_email_send_rate_limit), or: Email address not authorized (code email_address_not_authorized)

What you see

Your Lovable, Bolt or Cursor app uses Supabase Auth with email and password, magic links or password resets. It worked while you tested it. Then real people try to sign up and get “email rate limit exceeded”, or they never get the confirmation email at all.

Open the browser Network tab, submit the sign-up form and click the failed request to https://<project-ref>.supabase.co/auth/v1/signup. You’ll see one of two codes:

  • 429 with code over_email_send_rate_limit and message email rate limit exceeded
  • code email_address_not_authorized: the built-in mailer refused to send to that address

Both come from the same cause.

Why it happens

Every Supabase project starts with a built-in email service, and Supabase’s SMTP guide says plainly that it is not meant for production use:

  • It only sends to your team. Unless you set up custom SMTP, Supabase Auth refuses to deliver to addresses that aren’t members of the project’s organization. Everyone else fails with “Email address not authorized”.
  • It sends 2 emails per hour. Supabase’s rate limits page lists 2 emails per hour for the whole project on the built-in provider, counted across every endpoint that sends email: sign-up confirmations, magic links, OTPs, invites and password resets. Supabase notes the value can change without notice. You can’t raise it without custom SMTP or a Send Email hook.
  • No delivery guarantee. The built-in service is best-effort, with no SLA.

So two test sign-ups in an hour are enough to block the third. That’s why it shows up right after launch, or when you share the app with a few friends.

There’s also a per-user limit. The same rate limits page says sign-up confirmations, password resets and OTP or magic-link requests default to a 60 second window before the same user can ask again. That one is deliberate, and it stays after you connect SMTP.

Fix it: connect custom SMTP

Supabase Auth works with any email sending service that supports SMTP. Its guide lists Resend, AWS SES, Postmark, Twilio SendGrid, ZeptoMail and Brevo as examples.

  1. Set up the provider. Create an account, verify the domain you’ll send from, and get the SMTP host, port, user and password. With Resend, for example, the Supabase guide uses host smtp.resend.com, port 465, username resend and your Resend API key as the password, and it needs a verified domain.
  2. Enter it in Supabase. In the dashboard open Authentication, go to the SMTP Settings, enable custom SMTP and fill in the sender email (for example [email protected]), the sender name and the credentials. Save.
  3. Raise the limit. After you save, Supabase lets you send to every address but starts you at 30 messages per hour to protect a new sender’s reputation. Open Authentication > Rate Limits and set the email limit to your busiest expected hour, within what your provider allows. Don’t set it far above your real traffic: a high limit lets a bot use your forms to send mail from your domain.
  4. Mind the provider’s own quota. Resend’s pricing page lists a Free plan of 3,000 emails a month, limited to 100 emails a day. If your launch could pass that, plan for it.

If you’d rather send through an API than SMTP, Supabase’s Send Email hook is the other supported route.

Don’t turn off “Confirm email” to make it go away

Your AI builder may suggest disabling email confirmation. Supabase’s testing guide warns that this lets anyone sign up with an email address they don’t own, and Auth marks that address as confirmed. If you turned it off while testing, turn it back on under Authentication > Sign In / Providers before you launch.

Protect the limit from bots

Supabase’s SMTP guide warns that bots signing up with lists of real addresses are a common abuse. It can hurt your sending reputation or block real sign-ups and password resets. Its suggestions:

  • turn on CAPTCHA protection for Auth, which it calls the most effective control
  • prefer social sign-in (OAuth) or one-time passwords where they fit
  • set up SPF, DKIM and DMARC for your sending domain to improve deliverability
  • keep auth emails and marketing emails on separate services or sending domains

Show a clear message in the app

When the error does happen, don’t leave a dead form. Ask your builder to check error.code === 'over_email_send_rate_limit' on sign-up, forgot-password, magic-link and resend forms and show “Please try again in a minute” instead of the raw error. Supabase’s error codes page recommends matching on the code, not the message text. Disable the resend button for 60 seconds after each send so users don’t run into the per-user window. If users who already signed up can’t log in and see Email not confirmed, follow Supabase “Email not confirmed” on login.

Check it worked

Sign up with an address that is not on your Supabase team. The confirmation email arrives from your own domain, the sign-up request returns 200, and a password reset right after it works too.