Adding Delayed job and Fix the bug with Mailer