Problem
An importer in Iraq buys stock from suppliers on Alibaba. Every order produces a stream of notification emails: order placed, payment due, payment failed, paid, shipped, customs cleared, delivered. Following hundreds of orders meant digging through an inbox full of these emails and Alibaba’s promotional mail.
- Order updates were scattered across thousands of emails, mixed with advertising.
- There was no single view of what was paid, what was on the way and what was stuck.
- Late shipments and failed payments were easy to miss.
- Working out monthly spending for the accountant was manual.
What we built
A private, Arabic, mobile-first app that reads Alibaba’s notification emails automatically and turns them into a clear, always-current picture of every order. The client installs it on his phone like a native app. Nothing is typed in by hand.
- Automatic order tracking. The system checks a dedicated mailbox every few minutes, recognises Alibaba order emails in Arabic and English, ignores promotions, and updates each order’s status, amounts, items and dates.
- Full history from day one. Years of past emails were imported in one step, so the app started with the client’s complete order history.
- Home dashboard. What needs attention now, how many orders are on the way, the latest orders, and this month’s spending compared with last month.
- Orders screen. Search by order number or product, filter by status, and open any order for its items, amounts and full status timeline.
- Smart late-order detection. The app learns how long each product usually takes at each stage, based on the client’s own past orders, and flags orders that are taking much longer than usual.
- Telegram alerts. Instant messages for failed payments, shipped orders and late orders, so the client doesn’t have to open the app to stay informed.
- Reports. Spending per month, spending per product for any period, and a one-tap export of all orders for the accountant (opens in Excel with Arabic intact).
- Works offline. Without internet, the app still shows the last data it loaded.
- Security and privacy:
- Login without passwords: a one-time code sent to the client’s Telegram, plus a notice on every new login.
- Genuine emails only: the sender of each email is verified before it can change an order.
- A hardened web app: strict security headers, rate limiting and secure sessions.
- No third parties: all data stays on the client’s own server.
- Automatic daily database backups, with two weeks kept.
- User experience: fully Arabic and right-to-left, designed for a small phone screen, installable as a PWA with no app store needed, and always current: pull down to check for new mail, and the screen also refreshes by itself.
- Technology:
- Backend: Node.js 24, TypeScript, Fastify, SQLite.
- Frontend: Vue 3 and Quasar, built as a Progressive Web App.
- Integrations: email checking over IMAP (Gmail); the Telegram Bot API for login codes and alerts; email parsing driven by editable rules, so a change to Alibaba’s email wording needs no code change.
- Hosting: Docker on a private server behind Nginx with HTTPS.
- Quality: about 300 automated tests, including tests against real-world email samples.
Outcome
- One screen replaces an inbox of thousands of emails.
- Problems such as failed payments and late shipments surface automatically.
- Monthly spending reports are ready in seconds instead of hours.
- Low maintenance: a single small server, automatic backups and no subscriptions.

