mailsort: Teaching Gmail to Sort Mail Locally

My Gmail labels already described how I wanted mail grouped. I built mailsort to turn those labels into training data for a small classifier that runs on my own machine. mailsort learns topics from a Google Takeout export, then checks incoming messages over IMAP and suggests Gmail labels. There is no hosted AI service classifying the message text. Gmail is still contacted to read messages and apply labels, but the model and classification run locally. ...

October 26, 2026 · 4 min · 684 words · Taner

Building a Local RAG System: My Journey and How You Can Too

My Story: Why I Built a Local RAG System A few months ago, I found myself frustrated with the limitations and privacy concerns of cloud-based AI tools. I wanted to experiment with Retrieval-Augmented Generation (RAG) on my own terms—locally, with full control over my data and the ability to tinker under the hood. As a developer who loves open source, C#, and learning by doing, I decided to build my own local RAG system from scratch. ...

May 5, 2025 · 4 min · Taner