実装を試行錯誤しながら調査中
メールの送受信が必要
apt-get install sendmail ssmtp
sendmailconfig
cd /etc/ssmtp/
vim ssmtp.conf
root=
hoge@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=gmail.com
hostname=gmail.com
AuthUser=
hoge@gmail.com
AuthPass=password
AuthMethod=LOGIN
UseSTARTTLS=YES
FromLineOverride=YES