Fix errors on mailer. Set switcher dependence on RAILS_ENV swich to odd delayed_job