I wrote writing an email class, but I am not sure if this is the best way to write this... here\'s the code for it...
class email { string value; stri