refactored EmailTarget with the new mailer interfaces.