Build a Gmail sidebar CRM using the supported Google Workspace Add-on API, not a DOM-injecting extension. Why that choice matters, and the README should say it: an add-on built with CardService keeps working when Gmail's markup changes, and an extension that reads the thread list does not. Parts: 1. An Apps Script add-on with a contextual Gmail trigger. When a thread is open it reads the sender address through the add-on API, calls your backend, and renders a card: the contact's name, current stage, last three notes, and buttons to change stage or add a note. Editing writes straight back through your backend. 2. A small backend — your language of choice, Postgres or SQLite — exposing an authenticated JSON API for lookup-by-email, stage change, and note append. Authenticate the add-on to the backend with a long-lived token stored in Apps Script user properties, and rotate it from a settings card. 3. A plain web UI on the backend for everything the sidebar is too small for: the board view, bulk edits, CSV import and export. Model: Contact (email is the identity), Pipeline, Stage, Note. Every stage change stores who, when, from and to. Because the add-on runs in Google's sandbox, be explicit about its limits in the README: it cannot see the thread list, cannot modify the compose window beyond the supported compose actions, and has quota limits on script runtime. When the sidebar sees an address with no contact, offer a one-tap "create contact from this sender" that pulls the display name from the message. Write tests for the backend API, and a manual test checklist for the add-on since Apps Script is awkward to test automatically — that honesty is better than a fake test suite. Do not build a Chrome extension that scrapes Gmail's interface, and do not implement mail merge or open tracking.