Originally posted under access server and got moved to Access Server Requests by mods.
However, this was a more generic question on how this can be achieved.
The below links indicate this is possible:
https://www.snbforums.com/threads/tutorial-openvpn-connection-disconnection-email-notifications.20828/ <-WRT router only