An Azure communication platform for deploying applications across devices and platforms.
Hi,
First, Azure Communication Services Email (ACS Email) is being RETIRED on September 30, 2028. If possible, please consider deploying different email solution instead of ACS Email. This will avoid headache of having to migrate a live production app to a new solution before the deadline.
Retirement and breaking changes guide for Azure Communication Services - ACS Email
Second, if you want to proceed with ACS Email for now, please submit free Service and subscription limits (quotas) support request to increase your sending limits. You should try for a high limit to avoid 429 errors entirely.
Please refer to article below for steps to increase sending limit:
Quota increase for email domains
https://learn.microsoft.com/en-us/azure/communication-services/concepts/email/email-quota-increase
Issue type: Service and subscription limits
Quota type: Azure Communication Services: Email Sending Limits
Enum: 250 (1,000/minute, 3,000/hour)
NOTE: Creating free support request in the Azure portal can be surprisingly confusing/difficult. If you have issue creating the request in the portal, please reply in comment below and I will help you. They recently changed the portal flow so my existing instructions/screenshots are inaccurate.
Third, since your use case is for time-sensitive OTP messages, I recommend you treat 429 errors as hard failures and provide some sort of alternate way for the user to sign-in if they occur. The idea would be to have your email sending limit be high enough (much higher than if it was non-time sensitive use case) to avoid throttling.
Thanks.
-TP