[
    {
        "filter": [
            {
                "header": "From",
                "match": "e-billet@sncf.fr",
                "type": "Email"
            },
            {
                "match": "^i0CV",
                "type": "Barcode"
            }
        ],
        "function": "parsePdf",
        "script": "sncf.js",
        "type": "Pdf"
    },
    {
        "filter": [
            {
                "header": "From",
                "match": "UNITTEST-e-billet@sncf.fr",
                "type": "Email"
            }
        ],
        "function": "parseText",
        "script": "sncf.js",
        "type": "Text"
    },
    {
        "filter": [
            {
                "header": "From",
                "match": "oui.sncf",
                "type": "Email"
            }
        ],
        "function": "parseOuigoConfirmation",
        "script": "sncf.js",
        "type": "Html"
    },
    {
        "filter": [
            {
                "header": "From",
                "match": "ne-pas-repondre@pasngr.ouigo.com",
                "type": "Email"
            }
        ],
        "function": "parseOuigoTicket",
        "script": "sncf.js",
        "type": "Pdf"
    }
]
