Accessing Gmail Account From Google App Engine
Solution 1:
I've heard that ContextIO is providing APIs to access GMAIL account. I've tested to get all contacts, emails, files, email's body successfully. The APIs are quite easy to use. You need some steps to obtain ContextIO's Consumer Keys.
They's also providing an API to fetch mails from Google App Engine. Currently, I'm working to bring a demo and hopefully will update this answer soon. However, it's very straight forward and interesting to do :)
App Engine BlogsContext IO's site
Hope it helps
Solution 2:
Google App Engine only allows http/s communication thru the urlfetch API. IMAP cannot be used on the production servers. You can try using urlfetch using GMail built in RSS feed (https://USERNAME%3aPASSWORD@gmail.google.com/gmail/feed/atom).
Solution 3:
You can use Google Apps script to access your inbox and send the result to App Engine. http://code.google.com/googleapps/appsscript/service_gmail.html F.I. I use Apps Script with Google Spreadsheets to make reports, based on data in GAE, using a hmac signature to authenticate.
Post a Comment for "Accessing Gmail Account From Google App Engine"