Added sendMessage function

If a post is deleted, send a message to the author with the deleted
post.