Selectively forward the email to an account connected to Google App Engine:
http://code.google.com/appengine/docs/python/mail/receivingm...
Then you can write a handler that basically treats the email as if it had been a web request. (This amazing new feature was just added about a month ago!)
Let me know how it went.