0.1.6 • Published 23 days ago

@feryardiant/sendgrid-inbound-parser v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

Sendgrid Inbound Parser

My personal implementation of SendGrid inbound-mail parser.

Usage

This package exposes 4 functions

async parseEmail(req): Promise<NormalizedEmail>

Parse email field in inbound mail body.

async storeAttachment(attachment, bucket): Promise<File>

Store the attachment file to google storage bucket.

normalize(email): NormalizedEmail

Normalize parsed-mail from 'mailparser' package

inboundParser()

Express middleware to parse request body.


Please refer to this file for more type definitions

Credits

Licenses

code is licensed under MIT,

0.1.0

23 days ago

0.1.2

23 days ago

0.1.3

23 days ago

0.1.6

23 days ago

0.1.5

23 days ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago