Handle exceptions while decoding email.