Allow empty emails.
Fix toHex and convertToPEM.
Fix user_ids path.
More work to make publish branch working.