refactored emails to use a mailer model and a test victim