improve _validmail
fix typo
minosization