def METHOD_NAME(user, identity, from_moderation, **kwargs):
    from indico.modules.users.util import get_admin_emails
    if (from_moderation or identity is None or identity.provider != 'indico' or
            not user_management_settings.get('notify_account_creation')):
        return
    with force_locale(None):
        tpl = get_template_module('users/emails/profile_registered_admins.txt', user=user)
        email = make_email(get_admin_emails(), template=tpl)
    send_email(email)