Bugfix: Updated email regex and tests

Fix for #719