Add exception handler to `send_error_email`