Dialogflow and Sendgrid = AI Mailbox

栏目: IT技术 · 发布时间: 4年前

内容简介: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

Dialogflow and Sendgrid = AI Mailbox

Setup

Preparation

  1. Connect your Agents to a Dialogflow Gateway implementation ( more here )

  2. Make a SendGrid account

  3. Visit "Settings" > "Sender Authentication" and "Authenticate Your Domain":

    Dialogflow and Sendgrid = AI Mailbox

  4. Verify your DNS records:

    Dialogflow and Sendgrid = AI Mailbox

  5. Go to "API Keys" and generate API Key with full access to "Mail Send":

    Dialogflow and Sendgrid = AI Mailbox

  6. Install Dialogflow Sendgrid (below) and add "Inbound Parse" entry in "Settings" with following options:

    Dialogflow and Sendgrid = AI Mailbox

    • 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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

这才是马云

这才是马云

陈伟 / 浙江人民出版社 / 2011-5 / 30.00元

“幽默马云”、“开心马云”、“顽皮马云”、“狂妄马云”等。《这才是马云》从各个角度揭开了千面马云的真面目,告诉你一个与想象中大不一样的马云。这不只是一本书,更像一部喜剧电影,让你通过声音、色彩、表情等诸多要素走近马云,感受阿里巴巴。没有冗长的说教,只有让人忍俊不禁的细节;没有高深的理论,只有通俗、诚恳的陈述。作者借幽默平常的琐事,记录下马云“可爱”的一面,看完后让人恍然大悟:原来,马云是这样一个人......一起来看看 《这才是马云》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具