Go send mail Install go get github.com/Hwisaek/go-send-mail Usage Set the Environment variable. The Name of "SENDGRID_API_KEY". os.Getenv("SENDGRID_API_KEY")