nit: Please use `emailElement.textContent`.