fix email settings for Sendgrid and Mandrill (fixes #302)