fixed sending email