Copy the Code from this repository into your own Google Cloud Function, and make sure to have the following environment variables set :
#### CLIENT_ID
#### CLIENT_SECRET
#### REDIRECT_URI
#### ACCESS_TOKEN
#### ACCESS_TOKEN
#### REFRESH_TOKEN
#### FROM_EMAIL