repair send email exception(err,warn)