内容简介:Mail your Dialogflow Agents with SendgridFor features and drawbacks, see the
Dialogflow Sendgrid
Mail your Dialogflow Agents with Sendgrid
For features and drawbacks, see the original repo
Schema
Setup
Preparation
-
Connect your Agents to a Dialogflow Gateway implementation ( more here )
-
Visit "Settings" > "Sender Authentication" and "Authenticate Your Domain":
-
Verify your DNS records:
-
Go to "API Keys" and generate API Key with full access to "Mail Send":
-
Install Dialogflow Sendgrid (below) and add "Inbound Parse" entry in "Settings" with following options:
- Receiving Domain: your domain
- Destination URL: endpoint to Dialogflow Sendgrid
- Check incoming emails for spam: up to you
- POST the raw, full MIME message: yes (check)
Installation
Kubernetes
See k8s for examples
Manual
pip install -r requirements.txt python inbox.py
Configuration
| Environment Variable | Description | Value |
|---|---|---|
| INBOX_USER | Sendgrid user | apikey |
| INBOX_PASSWORD | Sendgrid API Key | - |
| INBOX_HOST | SMTP and IMAP server hostname | smtp.sendgrid.net |
| GATEWAY | Dialogflow Gateway Implementation | https://cloud.ushakov.co |
Testing
Send a test mail to a agent in the following format: your-google-cloud-project-id@yourdomain
以上所述就是小编给大家介绍的《Dialogflow and Sendgrid = AI Mailbox》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Docker从入门到实战
黄靖钧 / 机械工业出版社 / 2017-6 / 69.00元
本书从Docker的相关概念与基础知识讲起,结合实际应用,通过不同开发环境的实战例子,详细介绍了Docker的基础知识与进阶实战的相关内容,以引领读者快速入门并提高。 本书共19章,分3篇。第1篇容器技术与Docker概念,涵盖的内容有容器技术、Docker简介、安装Docker等。第2篇Docker基础知识,涵盖的内容有Docker基础、Docker镜像、Dockerfile文件、Dock......一起来看看 《Docker从入门到实战》 这本书的介绍吧!