Update email regex to pass unit tests. Add new unit tests.