Implemented test email sending