Email Notification for IDENTITY PROVIDER POST LOGIN ERROR event

Hi,

Currently we apply a policy for single session per user and use gmail as our IDP.
If there is a second login attempt, keycloak will deny the login and create event IDENTITY_PROVIDER_POST_LOGIN_ERROR
image

Event Detail

{"identity_provider":"google","auth_method":"openid-connect","auth_type":"code","redirect_uri":"https://xxx.company.com","identity_provider_identity":"xxx@gmail-company.com","code_id":"38de95d1-4387-4a41-812b-xxxxxx"}

Error: generic_authentication_error

For security/increasing user awareness, we would like to notify the user via email if there is a double login activity. Is there a way to send email to identity_provider_identity for each IDENTITY_PROVIDER_POST_LOGIN_ERROR event?