added missing rails environment require for mailer tasks