Add sendgrid gem to Gemfile. Generate a Mailer class.