Parsing email
I've tried to use a couple of popular email parsing libraries (textract, mailparser) to parse the raw text received by an email worker, but so far I haven't found anything compatible with the CF runtime environment.
For example, I get errors like below during deploy. Missing pacakges incude node:buffer, node:stream, crypto, path, etc.
2 Replies
found this: @protontech/jsmimeparser
Also checkout the postal-mime package