Defin mailer in controller