Skip to content

Email parser

Paste a booking email or drop its original .eml or .msg file in the add flow. The original file carries message metadata that plain pasted text may lack. A booking PDF uses the same review workflow after text extraction.

TravStats detects the likely domain and runs the configured parser chain. Template first is the default; you can choose model first in parser settings. The issuer catalogue comes from template files with a bundled snapshot, cache and repository updates. A model provider is optional and can be disabled by the administrator. See Imports and parsers for the overview.

The parser can return several flights from one booking. Inspect every leg, including connections and the return. Neither a template nor a language model guarantees that an unfamiliar layout was read completely.

Check the route, dates, local times, status, flight number and booking reference. An apparent number in promotional text is not enough to establish a flight. The document’s explicit facts take precedence over guesses.

The booking total belongs to the booking rather than being charged once per leg. Check currency and decimal separators. Cancellation messages must not create a completed journey. In the latest 2.7 source, generic extraction marks cancellation status and warns when a missing clock had to be inferred.

You can correct fields or remove an unwanted proposed leg before saving. An empty result can be valid for a promotion or a document that contains no supported booking; it is not automatically a server failure.

SymptomNext step
No recordsCheck that the source is a booking; try its original file, another configured parser or manual entry
Wrong domainReview the suggested domain and select the intended one where the dialog offers it
Missing return or connectionCompare every leg with the source before accepting; add the missing leg explicitly
Wrong or missing clockCheck the airport’s local time and date; keep a date-only record when the time is unknown
Repeated issuer layout failsUse the template workshop and test against more than one example
Cancelled booking appears activeCorrect the status before saving and check that the build contains the cancellation fix

Template extraction runs on your server. If a configured cloud model is used, the parsing input can leave that server under its provider settings and consent. Do not assume that self-hosting alone makes an enabled external parser local. The Ollama guide covers a local model option.

Parsing is a proposal, not proof that travel happened. Keep the original when you need a ticket or receipt later. Correct a bad import through the saved record or import history rather than repeatedly importing the same source.