I have a very common use case where an admin is creating an account of the user and then I need to send the login id generated by my system to the user. And the user will need to set a password on the first login.
So my question here is should I send the user id on email and if yes, then what are the security risks that must need to be incorporated?