adding constraint to email in class Person