Database verification hangs - indexed folder culprit?

Then there’s another one: Use Mailmate’s search capabilities instead of indexing everything into DT.
There was, btw, a similar thread here some time ago, if I remember correctly. Ah, there it is: How to index appr. 120.000 emails in an iCloud database?
Perhaps that gives you some ideas.