fix sending email