For builders shipping this week
"Email rate limit exceeded" on signup: what it means and how to fix it
FirstUser signs up on your live Lovable, Bolt, Cursor or Replit app like a brand-new user, waits for the confirmation email, and tells you exactly which step failed. If your signup returns "email rate limit exceeded", you see it in the report before your first real users do, with a screenshot and a fix prompt you can paste back into your builder. Run a free test — no account, no card.
You publish your app, a few people sign up, and suddenly new users see "email rate limit exceeded", or the password reset button stops working. In the preview it worked every time.
This error does not mean your app is under attack. On Supabase (the auth backend behind most Lovable, Bolt and Cursor apps) it usually means you are still on the built-in email service, which sends 2 auth emails per hour for the whole project. Two signups and the third person is locked out until the hour is over. Your own testing counts against the same quota.
Which error do you have?
Open DevTools → Network on the published site, repeat the signup, and click the failed request to /auth/v1/signup (or /recover, /otp, /resend). The response body tells you which limit you hit:
| Message | Status / code | What it means |
|---|---|---|
| email rate limit exceeded | 429, over_email_send_rate_limit | The project has sent too many auth emails this hour. With the built-in mailer that's 2 per hour. |
| For security purposes, you can only request this after 60 seconds. (the number counts down) | 429, over_email_send_rate_limit | The same address asked for a signup, reset or magic link again within the per-user window (60 seconds by default). |
| Email address "…" cannot be used as it is not authorized (docs: "Email address not authorized") | 400, email_address_not_authorized | You're on the built-in mailer, which only sends to members of your Supabase organization. Every real user fails. |
| Request rate limit reached | 429, over_request_rate_limit | Too many auth requests from one IP address (30 per 5 minutes by default for signup, reset, resend and magic links). |
1. "Email address not authorized": your real users never had a chance
Supabase's default SMTP server is meant for trying things out. It only delivers to addresses on your project's team. You signed up with your own address, it worked, and you shipped. Your first real user, with any other address, gets an error.
Fix: set up custom SMTP in the SMTP settings under Authentication in the Supabase dashboard. Supabase's docs list providers that work, for example Resend, AWS SES, Postmark, SendGrid, ZeptoMail and Brevo. You'll need host, port, user, password and a From address on a domain you control.
2. "email rate limit exceeded": the 2-per-hour built-in limit
Same root cause, different symptom: the built-in mailer allows 2 auth emails per hour per project, and Supabase says that number can change without notice. Confirmation emails, password resets, magic links, invites and email-change mails all share it.
Fix:
- Set up custom SMTP (see check 1). After you save it, Supabase starts you at 30 emails per hour.
- Then go to Authentication → Rate Limits and raise "emails sent" to what a launch day actually needs.
- Don't "fix" this by turning off email confirmation for production unless you really mean to accept unverified addresses.
3. "For security purposes, you can only request this after 60 seconds"
This one is per user, not per project. Someone clicked "Sign up" or "Send reset link" twice, or your code retries automatically. It's working as intended. It becomes a bug when the app shows nothing, or a generic "Something went wrong", and the user gives up.
Fix:
- Disable the button after the first click and show "Check your inbox. You can request a new email in 60 seconds."
- Show the actual error message instead of swallowing it.
supabase.auth.signUp()andresetPasswordForEmail()return anerrorobject. Displayerror.messageor maperror.codeto a friendly text. - Make sure nothing in a
useEffector a retry loop calls signup or resend more than once.
4. "Request rate limit reached": everyone shares one IP
If signups go through your own server (an API route, a server action, an edge function) instead of directly from the browser, Supabase sees your server's IP for every user. 30 signups in 5 minutes from that one IP and everyone is blocked.
Fix: call auth from the browser where you can. If it has to run on the server, enable IP address forwarding under Authentication → Rate Limits and send the user's IP in the Sb-Forwarded-For header. This only works with a secret API key, not with the publishable or anon key.
5. Lovable Cloud apps: check the per-project email limit
If your Lovable app uses Lovable's built-in backend (Lovable Cloud) rather than your own Supabase project, the setting lives in Lovable: More → Users → Settings → Email → Advanced → "Rate limit for sending emails". According to Lovable's docs, new projects start at 1,000 emails per hour, and you can set it up to 32,767 yourself. Asking in the chat only gets you up to 1,000. If Lovable says your project's email sending isn't active, set up custom emails first. Until then, auth emails go through a shared sender with its own strict limit, and a higher number won't help.
6. Stop burning the quota with your own tests
With 2 emails per hour, three test signups in the preview and the next real visitor is locked out. Supabase has a guide on testing auth flows without hitting the email limits. In practice:
- Use custom SMTP before you do any serious testing on the live site.
- Don't run repeated signup tests against production with the built-in mailer.
- After every deploy, do one clean run: published URL, private window, an address you've never used, sign up, confirm, log in.
Let FirstUser do the clean run
FirstUser opens your published URL as a new visitor, signs up with a fresh address, confirms the email when its inbox receives it, logs in, and reports the step that failed, with a screenshot of the error on screen and a fix prompt for Lovable, Bolt, Cursor or Replit.
FAQ
Is "email rate limit exceeded" a bug in my code?
Usually not. It's Supabase's built-in mailer doing exactly what it's designed to do. The bug is shipping to real users while still on it.
How long do I have to wait?
The project-wide email limit is per hour. The "only request this after N seconds" message tells you the remaining seconds.
Can I raise the limit without custom SMTP?
Not on Supabase's built-in mailer. Its limit can only be changed once you use custom SMTP or a Send Email hook.
Does turning off "Confirm email" fix it?
It stops confirmation emails, but password resets and magic links still need email, and you lose verified addresses. Fix the sender instead.