First of all congratulations for you development. It´s really good. We have a customer that has a copy of all inbound and outbound mailin an account. When he tries to open the mail, the process of index all mail consume all cpu and memory. How can we avoid this kinds of things?
OS? How many messages? Maildir or mbox?The index will have to be built, but maybe you can set it at a lower nice level?