This repository contains a small example of an email assistant inspired by Pete Koomen's essay on AI-native software. The assistant processes a list of dummy emails and applies simple rules to label messages, draft short replies and optionally archive spam.
Run the assistant with Python:
python3 email_assistant.pyThe output shows the actions the agent would take for each email.
A minimal Flask app provides a simple interface with a "Go" button on the left and the processed emails on the right. Draft replies are generated for each email and you can edit them before hitting Send. Install Flask and run:
pip install Flask
python3 web_app.pyThen open http://localhost:5000 in your browser.