fix configuration of sendgrid