I was swallowed up by life for a long time. I am back now and want to help develop in Citadel.
Last time, I created a version to support the addition of the Flagged, Draft, Recent and Deleted flags and also reworked the Visit support to allow any size message sets while reducing the record size dramatically. Problem was when you tested it, converting all the Visit records during upgrade took forever. I have rewritten it to convert the records on the fly to the new version and have designed the structure to be expanded and changed much more easily. I removed the support for Recent. Did a lot of research on it before and it was not implemented properly and nobody really uses it. It is not a flag at the message level, but at the room level. Has to be maintained in it's own database record. Since IMAP4rev2 has deprecated the flag, and it is a lot of work to maintain, it is not worth the effort. IMAP4rev2 says you can output RECENT to stay compatible to IMAP4rrev1, just assume zero recent, so that is what I implemented. I can create a patch and submit for review/testing if that is the best way to do this. I don't have large databases to test against or test suites to cover everything. Let me know how you want me to submit it.
