MediaWiki:Apihelp-createaccount-param-mailpassword

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