title: Sidekiq -- Email.delay.sendMail
body: <p>So, I have this code</p>
  
  <pre><code>class InvoiceNotifier &lt; ActionMailer::Base
    include Sidekiq::Worker
    default from: 'from@email.com',
            return_path: 'any@email.com'
  
  
    def testEmail(recipient)
      @account = recipient
  
      mail(to: recipient).deliver
    end
  
  end
  </code></pre>
  
  <p>running the command (from console)</p>
  
  <pre><code>InvoiceNotifier.sendMail('my@email.com')
  </code></pre>
  
  <p>works, though</p>
  
  <pre><code>InvoiceNotifier.delay.sendMail('my@email.com')
  </code></pre>
  
  <p>does not work, and it returns a string.</p>
  
  <p>How do I debug this?  I look at redis and it has 3 keys, though none of them appear to have any values.</p>
  
  <p>Help?</p>