Specific bottleneck?
Let us talk for 30 minutes about your use case.
No obligation, no cost, with concrete next steps at the end.
Book a 30-minute callEigenentwicklung
From the chaos of invoice emails, a clean accounting folder emerges automatically — every PDF with the right name, in the right monthly directory, without anyone opening, renaming, and moving.
THE STARTING POINT
Incoming invoices arrive by email today: mobile carriers, hosting, cloud services, advertising, credit card statements, software subscriptions. Every month the same routine — open the email, download the PDF, rename the file, move it to the right supplier and month folder. For credit card statements there's an extra step: open the PDF, read the amount, build it into the filename so accounting can later see what it's about without opening it.
At two dozen invoices a month, that isn't "just a quick task" — it's the recurring friction point at the start of the month, where typos creep in, invoices accidentally get filed twice, or whole receipts end up lost in the inbox.
WHAT WE BUILT
A command-line tool that systematically scans the mailbox for invoice senders, extracts the matching PDF attachments, renames them by configurable rules, and files them into the correct folder hierarchy — with a dry-run before every real write, and a state database that reliably prevents double-processing.
2026-02-15_amex_142.50€.pdf. Other senders keep their original filename — what the banking software or the supplier already used is usually good enough.{year} and {month} resolve from the receipt date: /Invoices/amex/2026/2026-02/. Missing directories are created where needed.With --dry-run the tool shows exactly what it would do — without writing a single file or marking an email as processed. Configuration changes can be tested safely before being unleashed on the real mailbox.
Which AI model extracts the amount from the PDF is a configuration question — Anthropic Claude, OpenAI, Azure, OpenRouter, or a local model running on Ollama. The choice between cloud and on-premise stays configurable without touching code.
Mail server, path templates, and sender mappings live in readable text files (YAML and CSV). Passwords and API keys come from environment variables or a .env file — what can be maintained on site can be maintained on site, without secrets ending up in plain text in the configuration.
WHAT IT GIVES THEM
WHAT WE DELIBERATELY DID NOT AUTOMATE
WHY THIS PATTERN TRANSFERS
The setup works wherever structured documents arrive regularly by email and need to land in a consistent archive — and the content-side handling stays with a person or a downstream system: supplier invoices, reminders, dispatch notices, order confirmations, contract attachments, application documents, official notices.
The pattern: mailbox → sender filter → extract attachment → understand content with AI where needed → name → file → mark as done.
AI steps in precisely where a document needs to become structured information — for example, the invoice amount. The routine mechanics (download, rename, file, no duplicates) are deterministic and therefore reliable. Responsibility for what is processed at all stays with the person — where it belongs.
Talk to us
Specific bottleneck?
No obligation, no cost, with concrete next steps at the end.
Book a 30-minute callYour own AI platform?
Demo with your own data is possible. We bring the pseudonymisation set up and ready.
Request a demo