Grant admin confirmation mail not sent

I would just grant admin rights via CLI

CLI - that is new to me. If you have any useful links how to get access to the cli and documentation on the subject - thanks for sharing.

Independently from solving the immediate problem of granting the user admin access, I would like to understand how I could debug the fact that the email is not being send. It might be useful to identify a bug and improve discourse?