Notify admins if a user updates their primary email

I’ve tried searching but couldn’t find an answer if this was possible.

I help run a local member group and we have a Discourse instance, because of the BTS administration we have a couple of places we need to store member info.

We are moving towards a single solution but in the meantime something that has happened a couple of times is a user has changed their primary email without telling us. This is fine in itself, i would rather unsers update this emails if they have changed, but the problem is we don’t know that we need to update it elsewhere.

I don’t suppose there is an setting somewhere that tells Discourse to notify the admin group if a user updates their primary email address?


My best idea would be a webhook: " User Event
When a user logs in, logs out, confirms their email, is created, approved or updated." You’d then need to catch it somehow and filter out the stuff you don’t care about.


I actually have some instances where we can’t use DiscourseConnect to have shared logins, so like was suggested, we use a webhook to capture the event.

Our existing systems have API calls that can update users in real time, so we filter the hook to just when they confirm the emails and it then automatically updates the other systems.

If your systems support it, that’s probably your best option. If they don’t, you could always have the system just send an email or use the Discourse API to send a group PM to the users who need to be notified in your admin team. :slight_smile: