fix(mail): change printing of errors.