I have had the same problem with mac mail for the last 9 months.
It is not related to your mail account or ISP. it is a bug in the actual mail application itself. It has something to do with keychain access or possibly the server timeout settings. I havnt found a reliable fix for this yet.
Good...