Discourse not sending Emails

Ah. Then sidekiq is the problem, nothing to do with mail.

How did you install Discourse? How much ram do you have? How much swap?