Added ability to resend emails.