[{
    "filter": [
        {
            "field": "uid",
            "match": "@trainline.eu$",
            "mimeType": "internal/event",
            "scope": "Current"
        }
    ],
    "function": "parseEvent",
    "mimeType": "internal/event",
    "script": "trainline.js"
},
{
    "filter": [
        {
            "field": "From",
            "match": "@trainline.fr",
            "mimeType": "message/rfc822",
            "scope": "Current"
        }
    ],
    "function": "fixBrokenSncfTicketTokens",
    "mimeType": "message/rfc822",
    "script": "trainline.js"
}]
