Changed email from required to optional in register command.