Email class fully implemented