Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zlwaterfield/01adc1ed5b0fb083b6981321f2b76b88 to your computer and use it in GitHub Desktop.
Save zlwaterfield/01adc1ed5b0fb083b6981321f2b76b88 to your computer and use it in GitHub Desktop.
import multer from 'multer';
// SendGrid inbound emails
app.post(‘/api/inbound_emails’, multer().any(), inbound.index);
//Other routes and body parsing
...
@fandashtic
Copy link

fandashtic commented Aug 30, 2021

It would be very helpful if you shared some of your parsing code (especially the parseEmail method where you get the body of the email).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment