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