MediaWiki:Apihelp-createaccount-param-mailpassword/en

If set to any value, a random password will be emailed to the user.