FYI I’ve written an example of the API usage for creating a user through that method (Using the Users Manager API method) in this forum post: 4.11.0: can't set new user passwords, but user invite emails not sent - #3 by rstark
There is also some information on testing emails on your Matomo server which could be useful in troubleshooting the issue here.