Refactored NotificationMailSender.

API and calls do not match yet.