Added Emailer functionality.