title: Rails 3.2 Emails being delayed for 11 mins before processed by Sendgrid
body: <p>I have a Rails 3.2 app running on Heroku using Action Mailer and Sendgrid to send single transactional emails. Currently when the app sends an email, the request doesn't get received by Sendgrid to send out for 11 minutes. When viewing the received email in the inbox, the time will read the time it was received, but if you open up the email, it has the time (11 minutes prior) that the email request was originally generated. This is what I have in production.rb:</p>
  
  <pre><code>ActionMailer::Base.smtp_settings = {
  :address        =&gt; 'smtp.sendgrid.net',
  :port           =&gt; '587',
  :authentication =&gt; :plain,
  :user_name      =&gt; ENV['SENDGRID_USERNAME'],
  :password       =&gt; ENV['SENDGRID_PASSWORD'],
  :domain         =&gt; 'heroku.com',
  :enable_starttls_auto =&gt; true
  }
  
  
  config.action_mailer.delivery_method = :smtp
  config.action_mailer.perform_deliveries = true
  config.action_mailer.raise_delivery_errors = true
  </code></pre>
  
  <p>I've never encountered this problem with Rails 4.0 apps, so is this a known issue with Rails 3.2?</p>