ParentFull threaddacort·Different use case (SMS stats), but you can see an example of querying the local iMessage DB here: https://github.com/mroth/grayratioView on HN