Advanced gmail notifier for linux – Checkgmail – lets you control emails from the notification area
Checkgmail
Checkgmail is an application that stays in your notification area and whenever you receive a new email, it opens a small notification window and by clicking the window you are taken to your gmail account and when hovering the mouse over the icon, you have options to delete the email, archive, mark as spam and so on:
The application also lets you undo your last action for instance undeleting an email.
To install checkgmail in ubuntu, simply open a terminal and type:
sudo apt-get install checkgmail
Once the installation is over, you can launch it from applications > internet > checkgmail and enter your gmail credentials, checking interval and so on: