@cfxlabsinc/b2b-services
    Preparing search index...

    One inbox row: an archived object and whatever Postgres knows about it.

    state is the whole point of the page. S3 records what a bank actually sent; wire_email records what we managed to store. They are supposed to agree, and this is the column that says whether they do.

    type InboxRow = {
        key: string;
        messageId: string;
        receivedAt: string;
        size: number;
        state: "MISSING" | "UNPARSED" | "RECORDED";
        wireEmail: WireEmail | null;
    }
    Index
    key: string
    messageId: string
    receivedAt: string
    size: number
    state: "MISSING" | "UNPARSED" | "RECORDED"
    wireEmail: WireEmail | null