Emails is definitely a straightforward thing to do. SMS is also pretty possible. For really interesting use0cases like Messenger, the difficulty becomes more of collecting and storing user permissions. I recently came tooling like
https://github.com/Schmavery/facebook-chat-api