https://github.com/motdotla/sendgrid-webhook-then-send-inline-gmail
This little app is attempting to demonstrate how to send an email, then a robot (SendGrid) catches the email, and sends a reply back. That reply should be inline.
https://github.com/motdotla/sendgrid-webhook-then-send-inline-gmail
Last synced: 7 months ago
JSON representation
This little app is attempting to demonstrate how to send an email, then a robot (SendGrid) catches the email, and sends a reply back. That reply should be inline.
- Host: GitHub
- URL: https://github.com/motdotla/sendgrid-webhook-then-send-inline-gmail
- Owner: motdotla
- Created: 2014-05-24T21:59:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-24T21:59:18.000Z (over 11 years ago)
- Last Synced: 2025-03-17T17:12:15.944Z (10 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sendgrid-webhook-then-send-inline-gmail
This little app is attempting to demonstrate how to send an email, then a robot (SendGrid) catches the email, and sends a reply back. That reply should be inline.
## Usage
Send an email to hi@inline.webhook.email
It will reply back to your same email.
You will see that the reply is inlined in a gmail conversation - as desired.
## Setup
```
cp .env.example .env
```
Edit the contents of that with your SendGrid credentials.
Go to
Set hostname to `inline.webhook.email` and set url to `https://inline.ngrok.com/inbound`.
Start up ngrok: `ngrok -subdomain inline 3000`
Start up the app: `node app.js`