Write test for `resend_failed_emails`
Write test for
resend_failed_emails