Add ability to send test emails for diagnostic purposes.