started mail class. Not 100% implemented