Is there any nicer way to get the full message from gmail with google-api
问题 I'm working on a project where I, among other things, need to read the message in e-mails from my google account. I came up with a solution that works but wonder if there are any simpler ways? The first part of the code is pretty standard to get access to the mailbox. But I post it so you can see what I did to get it to work. SCOPES = 'https://www.googleapis.com/auth/gmail.modify' CLIENT_SECRET ='A.json' store =file.Storage('storage.json') credz=store.get() flags = tools.argparser.parse_args