fix send email error