in reply to Most elegant way to process an email in a gmail account?

Forward your mail to a shell account that runs qmail.
$ echo '| /path/to/my/script'
Now your script gets the email on stdin. Do with it what you want using your favourite language. And qmail is just an example; any decent MTA has this ability.

And you send your *work* mail, with *customer data* to Google? You don't mind the biggest data mining coorporation getting access to your email content?