fix sending email to multiple recipients, and to gmail.