Resend email if an error is encountered while sending the email #2412

Checked feedback and evaluation sending of emails (reminders, opening, closing and published) to ensure that all the emails are sent individually.

Any errors while sending the email will be handled by the task queue, which is retried up to 5 times with a backoff time of 30seconds each time.

Also tested the retry functionality on my staging server.