changed regex to validate emails