MediaWiki:Apihelp-createaccount-example-mail

Create user testmailuser and email a randomly-generated password.