Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

knorthfield's avatar

Resend API Rate Limit

All of a sudden I've started getting errors that I'm being rate limited when sending emails via Resend.

The limit is 2 requests per second.

It's not hard to hit this limit. Even though we have a small internal app with only a handful of users, occasionally three emails can easily fire off at once.

Just curious what would people's recommendations would be?

My instinct is to setup an email queue limited to only send one mail per second.

Open to suggestions though.

Many thank yous!

1 like
3 replies
Snapey's avatar

unfortunately you need to use a job and 'waste time' in it, ie sleep 500ms

Obviously you should only have one queue worker for this queue.

But to be frank. you should get a better mail provider, or pay for a better tier

1 like

Please or to participate in this conversation.