Freight and logistics

Outlook inbox agent

An Outlook add-in that classifies a freight inbox, drafts a reply and assigns an operator, and deduplicates the same email across mailboxes by Internet Message-ID.

Outlook inbox agent
Outlook task pane for a fictional freight forwarder, Harbourline Logistics. All names and booking references are invented.
Freight and logistics

An Outlook add-in that triages a freight inbox.

Microsoft GraphOutlook add-inSLASuggested reply
The problem

A freight operations team was living in a shared Outlook inbox. The same message often landed in more than one mailbox, so it was counted twice and sometimes answered twice. Category, urgency and who should own the thread were a matter of habit. Drafting a reply meant leaving the message, and WhatsApp threads with the same customer lived somewhere else entirely.

What we built

An Outlook add-in, backed by a Python service on Microsoft Graph, that classifies the open message and stays with the operator while they work it.

  • Classification in the task pane. Category, sentiment, urgency and a suggested operator are proposed before the thread is answered. Categories such as query, complaint and estimate each carry their own SLA.
  • A draft reply, in the message. The operator can generate a suggested reply, edit it, and insert it into the Outlook compose window. Nothing is sent by the model.
  • Escalation and resolution. A thread can be escalated or marked resolved from the same pane, with a Teams notification when it leaves the ordinary queue.
  • The same email, counted once. Deduplication is keyed on the Internet Message-ID, not the Outlook item id, so a message that landed in two mailboxes is still one case.
  • WhatsApp on the same case. Conversations from WhatsApp are ingested against the same customer, so the operator is not reconstructing a thread from two apps.
Why this was hard

Outlook item ids change when a message is copied between mailboxes. Treating that id as the truth produces duplicate cases and duplicate replies. The service had to key on the Internet Message-ID, map sending domains to operators, and keep the add-in fast enough that an operator would actually leave it open.

Why it matters

An operator opens a message and already has a category, an owner, an SLA and a draft reply — and the same email is never counted twice.

Want one of these?

Tell us the workflow. An engineer replies with what we would build and how long it would take.

Talk to an engineer