Refactoring repetitive mailer code etc...