solve the problem of sending email