add ability to test email delivery