If the service failed to send an email it should retry it with a delay. The delay time should be stored in an environment variable. On each retry the delay time of the current email sending should increase by its double. It should retry it till a certain amount that is stored in a environment variable.
Exponential retry of emails
If the service failed to send an email it should retry it with a delay. The delay time should be stored in an environment variable. On each retry the delay time of the current email sending should increase by its double. It should retry it till a certain amount that is stored in a environment variable.