Mail types (rules)
Mainly attachment filenames and subject/body keywords:
| Type | Typical signals |
|---|---|
| ORDER | “booking”, “shipping instruction”; or project-like spreadsheet without conflicting keywords |
| PREBOOKING | “pre-booking”, “S/O”, attachment name contains pre-booking hints |
| DECLARATION | customs docs keywords or filename |
| CONTAINER_LIST | seal list keywords or filename |
Plain Re: / Fwd: with weak signals may be CONFIRMATION; the system may still upgrade from attachments later.