Writing a plugin that notify my friends of new post that mentions(@) them

For example, I write a new post with content “Today I’m happy, because I finally met the girl that @David told me about bla blah…” Once the post is published, there should be an email notification sent to David about this post that mentions him. Is there already such plugin? If not please help me with my implementation. Thanks a million time! 🙂