Email Parser

Extract data from incoming emails and automate your workflow

Documentation topics:

Using scripts to filter emails




For more specific email filtering needs, Email Parser can run a custom script that check wether a received email will be processed or not. This script can be set up in the “Email filter” settings window:



using a script to filter an email


After clicking on the edit script button (click also the checkbox on the right) the script editing window is shown. A bare bones example of a script-based filter is the following:


using a script to filter emails


To write your own script-based filter you need to implement the function FilterEmail() that receives a standard System.Net.Mail.MailMessage object as parameter. If the function returns true means that the email passed the filter. False means that the message does not pass the filter.

It is recommended to write and test your script-based filter using the Email Parser scripting SDK. Much more convenient than editing the script directly in Email Parser.