What problem will this feature address?
It will drastically reduce the library size, allowing a smaller NPM package install (#10), SEA Windows executable file (#27, #40), and Docker (#39) build footprint.
Describe the solution you'd like
- Remove the
googleapis dependency
- Remove all tests and references to the
googleapis in the code base
Describe alternatives you've considered
I tested using only Nodemailer - no googleapis dependency for refreshing the access token when sending email, which worked.
Additional context
It is safe to remove the googleapis dependency since Nodemailer's 3-legged OAuth2 authentication auto-refreshes the Google project (Gmail) access token as long as a valid GOOGLE_REFRESH_TOKEN is available in the .env file.
What problem will this feature address?
It will drastically reduce the library size, allowing a smaller NPM package install (#10), SEA Windows executable file (#27, #40), and Docker (#39) build footprint.
Describe the solution you'd like
googleapisdependencygoogleapisin the code baseDescribe alternatives you've considered
I tested using only Nodemailer - no googleapis dependency for refreshing the access token when sending email, which worked.
Additional context
It is safe to remove the
googleapisdependency since Nodemailer's 3-legged OAuth2 authentication auto-refreshes the Google project (Gmail) access token as long as a validGOOGLE_REFRESH_TOKENis available in the.envfile.