updated to send a test email