Exception handling logger/emailer