add email_exception() to all except: statements.