> > Your question seems quite cinfusing to me but I think following may is what you are asking for.(Read the source) > > https://google-mail-oauth2-tools.googlecode.com/svn/trunk/python/oauth2.py > > After getting the authentication you can use imaplib to get all the gmail Data. Thanks, I will take a look. Skip