title: How can I debug e-mail sending on Gitlab?
body: <p>My Gitlab (version 5) is not sending any e-mails and I am lost trying to figure out what is happening. The logs give no useful information. I configured it to used <code>sendmail</code>.</p>
  
  <p>I wrote a small script that sends e-mail through ActionMailer (I guess it is what gitlab uses to send e-mail, right?). And it sends the e-mail correctly.</p>
  
  <p>But, on my Gitlab, I can guarantee that sendmail is not even being called.</p>
  
  <p>Do I need to enable something to get e-mail notifications? How can I debug my issue?</p>
  
  <h1>Update</h1>
  
  <p>The problem is that I can not find any information anywhere. The thing just fails silently. Where can I find some kind of log? The logs in the <code>log</code> dir provide no useful information.</p>
  
  <p>My question is, how can I make Gitlab be more verbose? How can I make it tell me what is going on?</p>
  
  <h1>Update 2</h1>
  
  <p>I just found a lot of mails scheduled on the <code>Background jobs</code> section. A lot of unprocessed <code>Sidekiq::Extensions::DelayedMailer</code>. What does it mean? Why were these jobs not processed?</p>