updated regex to validate emails