an API in NodeJS using express to send emails using the Gmail REST API.
Obtain a Gmail user's credentials using OAuth 2.0. The OAuth 2.0 process should be initiated by an API call to your server. - Store the obtained credentials in a file. - Have an API endpoint to execute send email using the credentials previously stored.