Group messages by author