Here's the fixed script, based on the bug logged in launchpad.net (https://bugs.launchpad.net/ubuntu/+source/checkgmail/+bug/851553): So, for the time being, don't update the script anymore... Go here, copy the text, save it in a plain text file called "checkgmail": http://pastebin.com/raw...