Stock email client crashing Phone is Motorola Milestone (EU version of Droid), android version is 2.2.1.

About a month ago I switched my email server from classic Postfix+Dovecot to Kerio Mail server. I accessed my email account via IMAP and I didn't change any email settings on my phone. After the switch, all emails that were read on server (either via email client like Outlook or via webmail) were showing up as unread in stock email client on the phone. It was annoying but I didn't give it much significance. 

After more than a month, stock email client started crashing after checking mail from server. My theory is that mail identifiers of new server caught up with identifiers from the old server, and it's making stock email client crazy ...

Deleting data from email app and recreating the account didn't help, crashing persists...
After using K9 Mail for couple of months, problem resolved itself, stock email client stopped crashing. 

This only confirmed my theory that stock email client on 2.2.1 has issues with overlapping message UIDS