fix sending email through AWS