setup mailer and custom rake task