[{
    "filter": [
        {
            "field": "From",
            "match": "nationalexpress.com",
            "mimeType": "message/rfc822",
            "scope": "Ancestors"
        }
    ],
    "function": "parseHtmlBooking",
    "script": "nationalexpress.js",
    "mimeType": "text/html"
},
{
    "filter": [
        {
            "match": "^EU[A-Z0-9]{6}:\\d+:",
            "mimeType": "text/plain",
            "scope": "Descendants"
        }
    ],
    "function": "parsePdf",
    "script": "nationalexpress.js",
    "mimeType": "application/pdf"
}]
