jeremyephron / simplegmail

A simple Gmail API client for applications in Python
MIT License
348 stars 74 forks source link

does it handle CLI tools authentification #12

Closed mjuliefr closed 4 years ago

mjuliefr commented 4 years ago

Hi,

I have a back end which will one gmail account to send email and retrieve unread attachment so I wonder if it does handle this kind of use case with a Cli tools type authentication including the use of the refresh token avoiding the user need to log in, please?

Thanks Julie

mjuliefr commented 4 years ago

I have the code for the CLI tool authentication if needed.

jeremyephron commented 4 years ago

Hi @mjuliefr, can I see an example of what you want and what code you have?

jeremyephron commented 4 years ago

@mjuliefr Just wanted to let you know that you can authenticate once on your browser and then copy the "gmail_token.json" file to the new location to avoid having to log in again.

mjuliefr commented 4 years ago

Hi Jeremy thanks for the feedback,