Analysis for history of text messages