0

I want to retrieve all the mails from my gmail adress in order to compute some satistics. Problem is I need to run this at work and the connection to the imap google server is blocked and there is not much I can do about it.

As I can access my mails through the browser without any problem I was wondering if it were possible to retrieve it through this medium instead of using imaplib.

Leo
  • 1,129
  • 4
  • 23
  • 38

1 Answers1

1

gmail has a REST api you could try: Quickstart: Run a Gmail App in Python

Joe Young
  • 5,749
  • 3
  • 28
  • 27