refactor setting recipients for mailer, how to test?