fix sendgrid setting

fixes #40