This is a documentation contribution "issue". When you use the alphanet faucet (for testing), the .json contains the 15 mnemonic words, a password, and email address. If you want to import this address using CreateWallet, the "password" is actually the email and password concatenated together.
When using this function to create a new wallet, you can use whatever you'd like as the password. There are no restrictions on requiring an email address to be part of the password.
This is a documentation contribution "issue". When you use the alphanet faucet (for testing), the .json contains the 15 mnemonic words, a password, and email address. If you want to import this address using CreateWallet, the "password" is actually the email and password concatenated together.
Example:
When using this function to create a new wallet, you can use whatever you'd like as the password. There are no restrictions on requiring an email address to be part of the password.