Implemented email address validation