Grafanaでアラートメールの設定(SMTP)

ここを参考に。
qiita.com

Gmai アプリパスワードの作成
アプリ パスワードでログインする - Gmail ヘルプ

Google アカウントに移動します。
[セキュリティ] を選択します。
[Google へのログイン] で [2 段階認証プロセス] を選択します。
ページの下部にある [アプリ パスワード] を選択します。

grafana.iniの編集
sudo vim /etc/grafana/grafana.ini

#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.gmail.com:587
user = "YOUR GMAIL ADDRESS"
password = "YOUR GMAIL APP PASSWORD"
skip_verify = false
from_address = admin@grafana.localhost
from_name = Grafana

sudo service grafana-server restart