Team gathered around a conference table
  1. Home
  2. Case studies
  3. MailFlow

A shared mailbox that sorts itself into processes

A team mailbox for TOZ and the Psitulmnie shelter in Zabrze that understands correspondence. It extracts and categorises processes, suggests replies and learns from everyday work. It follows rules worked out together with the team, remembers earlier matters and keeps to current, time-bound arrangements. It is operated through the interface or in conversation. It runs as a pilot and will be scaled.

TOZ, Psitulmnie shelter in Zabrze
share of mail left in the “Other” bucket
65% → 23%
faster fetching, from 0.96 to 0.29 s per message
3.3×
tokens per thread to classify
~2,000
tests on real correspondence
72
The challenge

One mailbox, several people, dozens of matters a day

Adoptions, volunteering, invoices, official letters: everything arrived in one stream.

On top of that, mail was disappearing from the server. POP3 can restart its numbering and take a month of correspondence with it.

The work

A mail client that understands what a message is about

Mail split into processes

Each message is assigned to a business process, so it reaches the person who handles that kind of matter.

Replies with a direction

The client suggests directions for a reply and drafts it with the signature of a specific person.

Attachments kept safe

Attachments are stored when the mail is fetched, before the server has a chance to delete them.

Knowledge and memory

A mailbox that learns on the job

The rules for handling mail are not fixed once. We discover them together with the team, in everyday work.

Rules worked out together

When the team corrects a category or a reply, the mailbox keeps it as a rule and applies it to the next messages.

Memory of matters

The mailbox knows the history of correspondence with a person and earlier decisions in a matter, so a suggested reply takes the context into account.

Time-bound arrangements

Current decisions, such as postponing a programme, apply until a given date. After that, the mailbox stops applying them.

Conversational mode

Instructions given in conversation

The mailbox can be used through the interface or in a conversation with a language model. The conversational mode handles tasks that would otherwise mean going through many threads.

Asking about a matter“What is new in the adoption of Burek?” The mailbox summarises the correspondence and points out what is waiting for a reply.
Replying to a group of messages“Reply to all emails about volunteering that the programme has been moved to next year.”
A standing arrangement“Until then, reply this way to anyone who writes about it, without asking me.” The mailbox applies the arrangement until the given date.
Classification

Rules first, the model only for the rest

Classification has two stages. Free rules go first. The language model is asked only about what the rules could not settle.

Half of the matters are decided by rules without asking the model at all, which is why the cost stays at around 2,000 tokens per thread.

Woman at a computer with coworkers discussing behind her
The effect

Three quarters of the mail goes straight to the right person

65% → 23%The “Other” bucket shrank by almost two thirds.
3.3×Fetching went from 0.96 to 0.29 seconds per message.
~2,000Tokens per thread, because rules decide half of the cases.
Engineering

Built to be trusted with real correspondence

Domain coreKept free of input and output, so it can be tested on its own.
Tests72 tests run on real correspondence.
HostingIn the European Union, in line with GDPR.
Status today

Pilot at the Psitulmnie shelter in Zabrze. Scaling to further mailboxes is planned.

Built with
  • Fastify
  • React
  • PostgreSQL
  • Claude
  • Railway
In every application

Systems that watch themselves

All of these applications carry self-reflective diagnostics. They do not wait for someone to notice that something is wrong.

People report on the spot

Anyone can report an error in the place where they saw it. The report joins the same diagnostic system.

The system looks on its own

It searches for errors and irregularities by itself, without being asked.

Fixes come as proposals

For what it finds it proposes corrective actions, which go to people for approval or discussion.

More case studies

Start with the process that matters most.

One critical process is enough to begin.

How we startTalk to us