Build queries for the mail indexer mu