Portfolio
Loading... 0%

A local-first, AI-powered email client built with React, TypeScript, and n8n. It bridges Gmail and a custom frontend using webhooks, featuring on-demand Gemini AI summarization, priority triage, and a sleek interface without relying on heavy cloud providers.
AI Automation
VS Code, React, N8N, OAuth2, Rest API, JavaScript, TypeScript
Nov 14, 2026 - Nov 14, 2026
Traditional email clients are cluttered and lack native AI integration. Building a custom client usually requires setting up a dedicated backend server to handle OAuth, API rate limits, and data transformation. I wanted a lightweight, local-first solution with on-demand AI triage.
Built a React frontend connected to a self-hosted n8n workflow. I used the n8n Wait node as an indefinite listener to bridge the frontend and Gmail. When the frontend needs data or AI analysis, it pings the webhook URL, n8n fetches the email, optionally processes it with Gemini, and returns the JSON.
Successfully created a zero-cost, local-first email client with AI triage. Bypassed browser iFrame restrictions and n8n response wrapping issues. Achieved seamless on-demand email fetching and AI summarization without a single traditional backend server.
Most email clients are bloated, cluttered with ads, and lack native, intelligent triage. I wanted a fast, minimalist, local-first interface that connects directly to my Gmail, with an AI assistant on standby to summarize long threads and prioritize my inbox on demand.
MailMind is the result. It's a custom React frontend powered by an advanced n8n automation layer that handles Gmail fetching, server-side HTML sanitization, and Google Gemini AI processing.


Instead of building a traditional backend (Node.js/Python) to handle OAuth and API routing, I used n8n as the entire backend infrastructure. The system works in a loop:
OpenThatLink.Wait node's resume URL.


window.open(). I bypassed this by using OpenThatLink to open the React app directly, passing the n8n payload via URL parameters.{ result: [{ json }] }). I wrote a custom unwrapEmailList() mapper in TypeScript that handles every variation n8n throws at it.simple: true, which only returns snippets. I had to explicitly set simple: false on the get-one node to fetch the full HTML body.overflow-y-auto. Fixed by adding min-h-0 to every flex ancestor.MailMind is a fully functional, completely self-hosted personal email client. It proves that with the right orchestration, you can build highly interactive, stateful applications entirely on top of n8n, bypassing the need for traditional backend infrastructure while keeping costs at zero.
Have a project in mind? Let's discuss how we can bring your vision to life.
Start a Project