This is a simple mail parser written in Go and compiled to WebAssembly.
import {parseMail} from 'gomail-wasm'
const mail = parseMail(raw)
console.log(mail.messageId)
console.log(mail.subject)
console.log(mail.html)
console.log(mail.text)
GoMail Wasm is released under the MIT license. See LICENSE for details.