BUT... if there's a way to tell fetchmail to stay connected to the IMAP
server and simply check for email every XX minutes without logging out,
then I believe it would work. I know staying connected works, because
I don't think there is such a thing in fetchmail (basically that's MUA
functionality), but you could abuse imapproxy for that.
Fetchmail-friends mailing list