Fix email and textContent bugs