I second these suggestions.
But there is a fundamental question, apparently a rather big problem: it seems to me that in using IMAP OpenGoo does not act as a real IMAP client, but instead more like a POP client. That is, IMAP clients should display and update the messages in the IMAP server. OpenGoo seems to fetch the messages into it's own repository, after which the IMAP server does not know what happens with the messages.
I need to use my smartphone (Symbian S60), Thunderbird, as well as a webclient for my mails. Since I have an IMAP server, it is convenient to have the save status of the messages displayed in every mail client. For example RoundCube does work pretty nicely in this regard (having some other problems). OpenGoo, unfortunately, does not fit in the picture as it is now. :-( BTW, as far as I know, SugarCRM has the same flaw in their IMAP client implementation.
As much as I sympathize with OpenGoo, if this is how IMAP will work, I must forget using OpenGoo.
Still one detail: would it not be possible to use the IDLE within IMAP to signal about a new message right away? As I see it, the current solution with Cron jobs does not help much, if the user needs to "check the email accounts" to see the new messages.
Anyway, all in all very promising and functionally rich - many thanks and congratulations!
Cheers,
Jari