はじめに AppEngineのMailAPIでもメールを送ることができますが、SendGridも利用できます。 GAEからの利用であれば、月12,000件まで無料で使えます。(2018年9月8日時点) 詳しくはドキュメントを参照してください。 以下は go1.9 で試しました。 SendGrid APIv3を使う GAE/Goのドキュメントではv2を使うやり方が紹介されていますが、より新しいAPIであるv3を使う方法を以下で紹介します。 コードはこんな感じです。Email helperを使うと jsonベタ書きしなくてもOKです。 import ( "context" "fmt" "os" "github.com/sendgrid/rest" sendgrid "github.com/sendgrid/sendgrid-go" "github.com/sendgrid/sendgrid-g