New isEmail implementation. Fixes #5