add tests and fixemail regex