fixed send email issue