In my last blog I wrote how to use notify-send to make a balloon notification from the command line. The reason I researched that subject, was that I wanted to make a Bash-script that runs on cron to notify me of any emails on my Gmail and Google Apps accounts. There are of course several such applications already. But it wanted to do it myself as an excuse to play with Google's mail feed, which I recently became aware of. In this blog post, I will explain how you can make such script yourself.