Script for using email services (starting with sendgrid).