Refactoring campaign mailer