KLassie is a Kicker panel applet to allow you to
display how many email messages you have waiting.
It comes with two data provider plugins (one will
poll an IMAP server, and the other will execute an
arbitrary shell command that produces a number,
and display the number on the panel).