setup sendgrid and environment variables