Added script to send emails, needed for the test suite