Added support for sending reports to email.