Fix mailer queue dependency
Merge pull request #5554 from antonioribeiro/queues

Fix mailer queue dependency