jeremyephron / simplegmail

A simple Gmail API client for applications in Python
MIT License
336 stars 73 forks source link

Support for multiple Gmail accounts #119

Open psresnik opened 2 weeks ago

psresnik commented 2 weeks ago

Thanks for this great package! I am looking for an easy way to use simplegmail with multiple accounts. A very simple modification would seem to be the ability to pass the credentials file as an argument when initializing the Gmail class, rather than hard-wiring. (My alternative work-around would be to have my program actually run in separate account-specific directories but that seems rather kludgy.) Might it be possible to add this?