Financial automation · Email processing
AI email agent for payment orders
An agent that identifies payment orders in email, extracts data from messages and attachments, and displays the results alongside the original document for review.

From email to data ready for review
In an inbox with thousands of messages, the finance team has to find payment orders among inquiries, notices, and spam. They then check the documents and re-enter the details, with room for errors in amounts or references. We built an agent that sorts incoming mail, extracts financial fields, and brings them into a dashboard where the team can check source documents and handle exceptions.
How the email agent works
Email classification
The agent uses language models to separate payment orders from general correspondence and notices. The team can prioritize payment messages and keep routine correspondence separate.
Payment data extraction
The agent extracts fields such as payer, beneficiary, IBANs, amount, currency, date, and payment reference from the email body or attached documents.
Suspicious message screening
Automated SPF and DKIM checks work alongside AI analysis to flag spam, phishing attempts, and suspicious attachments. The interface provides separate spam and quarantine views.
Monitoring and exceptions
The dashboard shows messages and processed orders as the inbox syncs. Reviewers can monitor the processed orders and reclassify messages filed under the wrong category.
Reviewing a processed payment order
Extracted fields appear next to the original document. Reviewers can check the amount, beneficiary, and reference in the same view or rerun the analysis for that message.

Features and benefits
- Automatic identification of payment orders in email
- Financial fields ready for review without initial manual transcription
- Source document review and the option to rerun analysis on individual messages
Technologies
The interface uses Next.js, TypeScript, and Tailwind CSS. NestJS runs the processing workflow, while PostgreSQL and Prisma store the structured data. The project's AI integration uses the OpenAI API with GPT-4o and Text-Davinci.
- Next.js
- NestJS
- TypeScript
- Tailwind CSS
- PostgreSQL
- Prisma
- OpenAI API
- SPF
- DKIM
Your project could be next
Let's discuss your idea and build the right solution together