Making sure that only text boxes with the email setting get the class of email. Closes #259.