Tweaks to email error rmessages