Parse RFC-5322 based email messages
$ luarocks install org.conman.parsers.email
Return a Lua table with the email headers parsed into individual
fields. Any fields not defined are returned in a field called
'generic'; the name is the raw header name, with the value the
raw value found.
This will also return the character position past the email headers
to facility reading in the body, if one exists.