generated mailer, coded view and whenever task to automate job