A Rails application that sends emails via the SendGrid API and tracks their status.
You will need:
- Ruby (2.5.0 or newer) and Bundler
- ngrok - to tunnel webhooks through to your local machine
- A Twilio SendGrid account (if you don't have one, you can sign up for a free SendGrid account now)
Clone the application:
git clone https://github.com/philnash/sendgrid-email-status.git
cd sendgrid-email-statusInstall the dependencies:
bundle installCopy the config/env.yml.example file to config/env.yml. Then fill in the config/env.yml with an email address you want to use to send emails and a SendGrid API key that can send email.
cp config/env.yml.example config/env.ymlStart the application:
bundle exec rails serverVisit the application at http://localhost:3000.