[
    {
        "type": "text",
        "filter": [
            { "header": "From", "match": "@amadeus.com" },
            { "header": "Message-ID",  "match": "amadeus.com" }
        ],
        "script": "amadeus.js"
    },
    {
        "type": "ical",
        "filter": [
            { "header": "From", "match": "@amadeus.com" },
            { "property": "productId", "match": "//AMADEUS//", "type": "ICal" }
        ],
        "script": "amadeus.js",
        "function": "parseEvent"
    }
]
