Fix for incomplete refactor on Mailer model.