Send Email Notification

We have a requirement that whenever a content item is changed we should send an email notification to all the parent components to which this child content item has been added.

Generally, the notification works in the sense that the notification can be configured to be sent out whenever a content item is modified. What I was planning to do is that write an extension that finds all the parents of the modified content item. Then it will send out the notification to each of the parent items. I found a class after lots of digging: PSExitNotifyAssignees that is handling the sending of notifications.

But it doesnot exposes any API to pass in a content id, that will send out the notification. So is someone aware of any API that I can leverage, or any better way to handle this requirement.