Mailnag is a mail notification daemon for Gnome 3 and Unity that checks POP3 and IMAP servers for new mail.
On mail arrival it performs various actions provided by plugins. Mailnag comes with a set of desktop-independent default plugins for visual/sound notifications, script execution etc. and can be extended with additional plugins easily.
This notifier has an official PPA, available for Ubuntu 14.10 and Ubuntu 14.04, which contains the latest Mailnag packages as well as Gnome Shell and Unity plugin.
Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one to add the PPA and install the notifier:
sudo add-apt-repository ppa:pulb/mailnag sudo apt-get update sudo apt-get install mailnag
For the default Unity desktop, you also need the plugin:
sudo apt-get install mailnag-unity-plugin
For Gnome Shell, run:
sudo apt-get install gnome-shell-mailnag
Once installed, open the configuration window from Unity Dash or Menu, add your email account and enable the plugin for your desktop environment.