moved email reporting from DB to unhandled exceptions