Allow email during register

This fixes a bug where email is not passed as a parameter even though documentation specifies it as a valid option.

This is part of issue#3, but can be merged trivially.