Resisting your e-mail is futile. When Jamie Matthews gets an e-mail, he just has to be notified. Receiving a glowing cube from Linden Labs at a job fair, Matthews just couldn’t resist turning it into something a little more worthwhile.
A simple python script runs on his computer, periodically screen-scraping his Gmail inbox looking for new mail. It then outputs a message to the serial port, indicating the mailbox status. On the other end of the serial connection is a Boarduino, which receives the message and toggles power to the cube.
There’s a highly detailed how-to guide on the main link below, check it out if you’re interested in having a cube light up after every 5 seconds of spam for Viagra you receive.
Link (via)