On the Python side there's Lamson and Google App Engine also has nice email handling capabilities allowing you to parse and access from your own code / app.
http://lamsonproject.org/ https://developers.google.com/appengine/docs/python/mail/
http://lamsonproject.org/ https://developers.google.com/appengine/docs/python/mail/