live notification for messaging

hello,

is there an existing plugin for live notifications when receiving a message from another user? i only found this plugin http://community.elgg.org/plugins/1144603/1.8.5/new-live-notifications-ajax.

If none exists, how can I adapt the above plugin?