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.
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.