create email class, incomplete