Im looking for information about how the IMAP protocol works. Google yields only high level information, but not enough to understand the details. I’d like to know enough to be able to create my own implementation. I found a c library which does it, but is poorly documented.
Some basic questions are: what are the IMAP uid’s and what are their guaruntees? For example, will an id ever change? will it be reused if deleted?
This looks like a good starting point:
http://www.imapwiki.org/ImapRFCList
In general, the keyword you want when searching for details on an internet protocol is “RFC”. Add that to your search along with the name of the protocol and you should get off to a good start.