My personal implementation of SendGrid inbound-mail parser.
This package exposes 4 functions
Parse email field in inbound mail body.
Store the attachment file to google storage bucket.
Normalize parsed-mail from 'mailparser' package
Express middleware to parse request body.
Please refer to this file for more type definitions
- Official inbound-mail parser @sendgrid/inbound-mail-parser
code is licensed under MIT,