IMAP mail notifier for window manager/task bar

emailimapnotificationssoftware-recxorg

I am searching for a small new-email-notifier for IMAP mailboxes that displays it's status in the icon-bar (how do you call it?) of a window manager.

Basically some biff/xbiff like tool ported to 21th century technology. 😉

I am using awesomewm, which is able to display in its taskbar the 'applets' (?), which also work under gnome (I guess that it implements some freedesktop standard).

Basic requirements:

  • should not waste memory/CPU (e.g. a pythonGTK based solution probably would)
  • support for IMAPS, and should check the host TLS certificate
  • configurable poll intervalls
  • should not distract too much
  • nice interface

Nice to have:

  • optional configuration of a user defined action (executing an external command)

Best Answer

hey you can always write your own!

#!/usr/bin/python
import imaplib
M = imaplib.IMAP4_SSL('imap.gmail.com')
if (M.login('YOU@gmail.com','PASSWORD')[0] != 'OK'): exit("no conn")
c = (M.select('Inbox'))[1][0]
if (c != '0'):print c
M.shutdown()

you can emit this into dmenu or another wm notification tool

Related Question