Initial check-in. Added an email class and tests.