Imports golang.org/x/oauth2 golang.org/x/oauth2/google google.golang.org/api/gmail/v1 google.golang.org/api/option Standard library imports context crypto/rand encoding/base64 encoding/json fmt io log mime/multipart net/http net/mail os os/exec path path/filepath runtime strconv strings text/template time