Replace register login name with email

Create a plugin to do this: