邮件测试Notify.test_email('xx@qq.com', 'Message Subject', 'Message Body').deliver_now
参考
https://www.centos.bz/2017/08/gitlab-send-email-with-smtp/