A simple main.go
that creates a gmail service to search and download attachments from gmail.
This main.go
was created using the gmail package for Golang and following this quickstart guide, which
describes how to set up the Gmail API and authenticate with it.
For more information about the Gmail API, you can check out the official documentation.
Scopes are required when creating the token because they are used to define the level of access of the application.