0.1.6 • Published 1 year ago

@feryardiant/sendgrid-inbound-parser v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.1.2

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago