Imports golang.org/x/oauth2 golang.org/x/oauth2/google google.golang.org/api/gmail/v1 Standard library imports context encoding/base64 encoding/json fmt io/ioutil log net/http os