I'm trying to send an email to Moodle admin account when any new user try to sign in with Google OAuth2 or Facebook OAuth2 services.
also I want to disable the verification email when new user want to register.
So basically what I need is as follow:
New user login with Google OAuth2 or Facebook OAuth2 they enter to my Moodle in the same time an email to the admin about this new User is Registered.
How I can manage to do this?