kcheckmail, is a very simple biff utility written in perl. In its intended usage, it forks into the background, connects to an IMAP server and pops up the 'From' and 'Subject' headers whenever it sees an unread email. All user interaction is done through kdialog.
I could not find any tool or script that does this, so I just wrote it. Hope someone finds it useful.