Not sure I can open a PR across GitLab -> GitHub, but just wanted to let anyone know that's interested, I have a fork that supports Goth 1.4 and multiple service accounts. Also made some changes to support display name in the from address and content id's for attachments.
In this instance GmailAccount will use the credentials read into the credentials var above and Frontline.Goth will look for creds in the GOOGLE_APPLICATION_CREDENTIALS env var.
Not sure I can open a PR across GitLab -> GitHub, but just wanted to let anyone know that's interested, I have a fork that supports Goth 1.4 and multiple service accounts. Also made some changes to support display name in the from address and content id's for attachments.
Check it out here. https://gitlab.com/frontlinewildfire/bamboo_gmail/
The only change required in the config is to remove
sub
and add agoth_mod
key and value. eg;In your app where you setup Goth you would do something like this.
In this instance
GmailAccount
will use the credentials read into thecredentials
var above andFrontline.Goth
will look for creds in theGOOGLE_APPLICATION_CREDENTIALS
env var.