switch the sendgrid based on environment