I'm trying to achieve at-most-once processing of email messages retrieved over IMAP. (I asked a related question about it.)
Is it reliable to compute a cryptographic hash code of the MIME messages retrieved over IMAP to deduplicate them?
In other words, why would the same email result in a different result when retrieved over IMAP multiple times? Can an email change it's contents for example when it's moved across folders, or marked as read or for some other reason?
I'm using hMailserver on Windows with Mailkit.NET as the client. Not sure this matters, though.