Message indexing engine