added email class. cleaned up imports.