Jerume,
Search this forum for the string ".OfflineCache" and you'll find several messages describing how to fix this problem in the short term.
What has happened, I think, is that at some point you were editing a message (and possibly sent it) and Mail.app thought you were offline so it saved the drafts files and sent message in the .OfflineCache in ~/Library/Mail. The problem I'm having is that when that happens, Mail.app is never able to clear the .OfflineCache once you go online again.
The net result is that every minute it tries to resend the message and fails, in my case with a timeout and INTERNAL ERROR: Keyword hashtable memory corruption:
READ May 19 17:14:13.626 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
* BYE Disconnected for inactivity.
* BYE [ALERT] Fatal error: INTERNAL ERROR: Keyword hashtable memory corruption.: Input/output error
I have not been able to figure out how to resolve this from my end. SpamArrest swears it's not their problem.
Chip