● INDEPENDENT FIELD GUIDES / ISSUE 001BODY / SKILLS / INCOMEBUILD A BETTER LIFE.
GRIT &
LEVERAGE
STRENGTH / SKILL / INDEPENDENCEGet stronger. Build skills.
START HERE ↗

Build an inbox agent that updates Excel.

A customer changes the quote from 300 shirts to 240. The agent updates the right row and keeps the original deadline. Try it with the sample inbox, then adapt it to the work you keep copying by hand.

Download the build (.zip) ↓

See what the finished Excel file looks like (.xlsx) ↗

The email that fooled the model

“We might add 60 more if the sponsor signs. Please do not change the quantity yet.”

The local model read this as a new request for 60. The code that writes to Excel caught the conditional wording and kept the count at 240. Open the workbook’s Review tab to see the exact email and the question it drafted for the shop. The question stays there for a person to send.

Try the five emails

  1. Unzip the build on a Mac or Linux computer with Python 3.11 or later. Open a terminal in the unpacked inbox-agent folder.
  2. Run the commands below. This first pass replays saved model answers for five fictional print-shop emails. You can try it without connecting an inbox or downloading model weights.
  3. Open my-quotes.xlsx. Find the change from 300 to 240 in Changes. Beside it is the line from the customer that justified the edit. Jobs has two quotes. Review holds two questions for staff.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python tracker.py --inbox example-inbox \
  --workbook my-quotes.xlsx --replay evidence

Make it read new mail

The README in the kit walks you through installing the local model, watching a folder for incoming messages and adapting the fields. The folder watcher ran on the sample emails as they arrived. The optional read-only Gmail adapter was checked against simulated replies. A live Gmail account test is still outstanding.

Start with a spare workbook. Pick one email that should change a row, and a similar one where the customer is only floating an idea. Read the change log for both before you trust the agent with your own queue.