All projects

Client work2025–2026Consulting and staffing firm

Enova Manager

An AI-assisted operations platform for a staffing firm: candidates, clients, timesheets, expenses and leave in one place, with every email filed on the right record, already summarized.

Full-stack engineer
enova-manager / mail-syncidle
Microsoft 365 → CRM0 filed · 0 skipped
j.martin@gmail.comnow

Re: Interview on Thursday

Thursday 10am works for me, I will bring…

record timeline · AI summary

    The challenge

    Candidate and client records lived in Boond Manager, while the conversations stayed in each recruiter’s Outlook inbox. The new platform had to bring both together and keep each agency’s data visible only to its own team.

    Results

    • Conversations with clients and candidates appear on the record, with no copy-pasting from Outlook.
    • A new candidate profile starts from a CV upload instead of manual entry.
    • One internal platform for recruiting, staffing and operations, with each agency’s data kept to its own team.
    • About 350 automated server tests, run on every pull request.

    What I built

    1. 01

      Emails filed automatically

      Microsoft 365 notifies the platform of every email sent or received. It matches the address to a candidate or a client, keeps only the latest reply, skips messages with nothing new, and adds an AI summary to the record’s timeline.

    2. 02

      Profiles filled from a CV

      A recruiter uploads a CV and the AI extracts identity and profile details into the candidate record. A work permit is only recorded when the CV states it explicitly.

    3. 03

      Expenses read from receipts

      Uploaded receipts become structured expense lines, ready for validation.

    4. 04

      Migration from Boond Manager

      An import of 11 record types from the Boond Manager API, in dependency order, including more than 60,000 candidates. It can be re-run without creating duplicates, and the production re-import checks that logins and access rights were left untouched.

    5. 05

      Candidates suggested for a need

      For a client need, the platform first scores candidates with fixed rules, then asks the AI to rank the shortlist within a set token budget.

    6. 06

      Access by agency

      Roles and agency boundaries decide who sees which candidate, client and project.

    Key decisions

    For technical readers: key decisions
    1. Microsoft sign-in that holds under load

      Microsoft refresh tokens work once, and a token cache shared across the process let concurrent requests overwrite each other, so users were signed out mid-session. Each operation now gets its own client limited to one account, and a per-user Postgres advisory lock lets a single request renew the token while the others wait for it. Each user’s cache dropped from about 290 KB to under 12 KB.

      Trade-off: A request that arrives during a renewal waits up to a few seconds.

    2. Unlink an account only when it is certain

      Sign-in errors are classified as permanent or transient. Only a permanent error unlinks a Microsoft account. An expired app secret, or any error the code does not recognize, counts as transient.

      Trade-off: A revoked user can stay linked one cycle longer, rather than a whole team being disconnected by one configuration mistake.

    3. Email notifications that never lapse

      Microsoft Graph subscriptions expire. They are created for 70 hours, extended in place 24 hours before expiry by a job that runs every 6 hours, and recreated only when Graph no longer knows them. Each user is handled separately, so one failure does not stop the others.

      Trade-off: More renewal calls than a daily job, in exchange for no window where emails go unseen.

    4. AI that leaves a field empty rather than guess

      CV extraction uses a strict schema whose allowed values come from the database at request time, and the server checks every answer again. A work permit counts only if the CV says it is held: never requested, pending, expired or inferred from nationality. On receipts, the server recomputes the amount before tax instead of trusting the model’s arithmetic.

      Trade-off: Recruiters fill a few more fields by hand, and none of the stored values are invented.

    Stack

    • Next.js 16
    • React 19
    • NestJS
    • Prisma
    • PostgreSQL
    • Microsoft Graph
    • OpenAI
    • Socket.IO
    Next projectDATEV integration

    Contact

    Working on something similar?

    Tell me where you are stuck. In 30 minutes we will know if I can help.

    Book a 30-min call

    Freelance projects or a contract inside your team, in English or French. Based in France, working remotely; the booking page shows times in your time zone.