Add email handler to the notify the admin when something goes wrong.