Why Does Mail Keep Asking For My Password?

Almost everyone who owns a Mac encounters the pop-up box requesting a password for Mail. It seems to appear and disappear without rhyme or reason. So, why does this keep happening? Behind The Scenes Mac Mail, like Outlook and Entourage, must contact an external mail...