node-envelope
node-envelope copied to clipboard
Quite liberal Email parser
feat: TS
Adds a routine for checking types and creating/associating TypeScript typings.
Emails sent from gmail with multiple attachments don't get parsed fully, only 1 of the attachments is "parsed" ## Steps to reproduce 1. Send an email with multiple attachments 2....
Your dependencies all appear that they would work in the browser, at least when pulled in through Rollup + [rollup-plugin-node-builtins](https://github.com/calvinmetcalf/rollup-plugin-node-builtins). Would you be willing to have source converted to ESM...
raw email: `From: "Almaifd, Tim" ` return: ``` from: [ { address: '"Almaifd', name: null }, { address: '[email protected]', name: ' Tim"' } ], ``` should be: ``` from: {...
It's lacking. A lot. ref #19
- [ ] Implement header serialization - [ ] Implement body serialization - [ ] Implement attachment serialization
So one can, for example, validate signatures (DKIM, PKCS, ...) Concept: ``` js var Envelope = require( 'envelope' ) var DKIM = require( 'envelope-dkim' ) Envelope.use( DKIM({ algorithm: 'rsa-sha256' }))...