This is fantastic. I've done some semi-similar things, have a tool I wrote for generating nice documents from Facebook Messenger conversations, for archiving important personal conversations. But I didn't take it so far as to generate a book yet! What a great idea!