EMAIL Library

The EMAIL Library is an importable library you can use in your projects to parse raw emails. There are many applications for this library, for an example use case refer to the Email Filter component.

Use the Translator’s built in help to review how to use each function:

The EMAILparse function takes in a raw email and parses it to return a table of header information (subject, date, to, from, cc and bcc), the body of the email, and the unique ID.

require "EMAIL.EMAILparse" function main(Data) local Header, Body, UID = EMAILparse{data=Data} end

Â