ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.delivery_method = Rails.env == "test" ? :test : :smtp
ActionMailer::Base.smtp_settings = {
    :address        => "smtp.sendgrid.net",
    :port           => 587,
    :domain         => "www.jamkazam.com",
    :authentication => :plain,
    :user_name      => "jamkazam",
    :password       => "jamjamblueberryjam",
    :enable_starttls_auto => true
}