Added isEmail method