move valid email checks to local tests
Merge pull request #815 from jrgm/local-email-valid

move valid email checks to local tests