fixes for the email validator
closes #486