Foundry376 / Mailspring

:love_letter: A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
https://getmailspring.com/
GNU General Public License v3.0
15.42k stars 900 forks source link

Optionally configure gmail client secret with env var #2454

Closed bobobo1618 closed 1 year ago

bobobo1618 commented 1 year ago

To use the Gmail API, you need both client ID and client secret. Currently, the ID can be configured with an environment variable but the secret cannot, so using Mailspring with different credentials requires recompiling.

This change makes the secret configurable through environment variables as well.