I've got an intermittent mac mail problem with my imap account.
Every now and then (a few weeks to a few months) the mailbox account disappears for a few minutes then reappears. Mail then decides it needs to download all the email again, even although all the mail files are still sitting on...