[
    {
        "mimeType": "text/plain",
        "filter": [
            { "field": "From", "match": "@amadeus.com", "mimeType": "message/rfc822", "scope": "Ancestors" },
            { "field": "Message-ID",  "match": "amadeus.com", "mimeType": "message/rfc822", "scope": "Ancestors" }
        ],
        "script": "amadeus.js"
    },
    {
        "mimeType": "internal/event",
        "filter": [
            { "field": "From", "match": "@amadeus.com", "mimeType": "message/rfc822", "scope": "Ancestors" },
            { "field": "productId", "match": "//AMADEUS//", "mimeType": "text/calendar", "scope": "Parent" }
        ],
        "script": "amadeus.js",
        "function": "parseEvent"
    },
    {
        "mimeType": "internal/event",
        "filter": [
            { "field": "uid", "match": "@cytric.net", "mimeType": "internal/event" }
        ],
        "script": "amadeus.js",
        "function": "parseCytricEvent"
    }
]
