Vibecode Mailient

track this build4 phases, 12 steps, beginner friendly
KINDA · weekend project
price $29/moyou'd save $348/yrbuild time a weekendcategory 📬 emailreplaced by 0 people

The core trick here, pull mail, classify it, summarize threads, draft replies, is genuinely a weekend of work now that an LLM does the hard part. An agent can wire IMAP plus SQLite plus a cheap web UI and have working triage before dinner. The gaps are all the unglamorous parts: Gmail and Outlook OAuth, push sync instead of polling, threading edge cases, and the fact that you will read this thing on a phone and your build has no app. Nothing here is protected by data or network, so a personal version keeps most of the value if you accept that you are now the ops team for your own mail pipeline. Product details and pricing are thin from the outside, so treat the specifics as unverified.

the project pack5 files · written for this build, step by step
README.md
# Mailient · indie build

A single-mailbox triage tool whose hard problems are a sync that stays connected and resumes correctly after every kind of interruption, a recorded boundary describing exactly what left the machine for the model, and reply headers that make a draft thread properly in the recipient's client.

Estimated effort: **weekend**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Runtime | Node 22 with Fastify, server-rendered HTML, bound to the loopback address | this is one person's mailbox and it should not be reachable from the network at all |
| Mail | IMAP for reading with SMTP for sending, using an application password | the hosted providers' OAuth route is a verification process rather than a library call |
| Storage | SQLite for rows with message bodies and raw headers written to disk | a mailbox mirror grows quickly and the rows are the part you actually query |
| Model | One chat endpoint, called once per thread, with the redacted input recorded | it is the only thing that leaves the machine, so it is the only thing that needs an audit trail |
| Sending | Drafts are stored, never queued, and a click is the only thing that can send one | an email tool that sends on its own is a different and considerably worse product |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Runs the server and the sync worker.
  - Get it: nodejs.org or your version manager.
  - Verify: node --version prints v22 or higher
- [ ] **A mailbox with IMAP and SMTP access and an application password** · free with most providers
  - Why: This build reads and sends over the protocols directly, and a provider that has turned them off makes the whole design impossible before you start.
  - Get it: Enable two-factor authentication and create an application password in the provider's security settings.
  - Verify: A client connects, lists the inbox, and sends one message to yourself
- [ ] **An API key for a chat model that returns structured output** · pay per call; a busy personal inbox is small change with the ceiling in place
  - Why: Classification and drafting both need validated JSON, and this is also the only component that costs money or sees your mail.
  - Get it: Create a key and set a provider-side spend limit in addition to the ceiling in this build.
  - Verify: One thread classifies into the schema without a repair attempt
- [ ] **A machine that stays awake** · free to a few pounds a month
  - Why: A sync that runs only while a laptop is open is a sync that misses the overnight mail, which is exactly the mail triage is for.
  - Get it: A small always-on box on your own network, or a laptop you genuinely never close.
  - Verify: Mail received overnight is present in the morning
- [ ] **The redaction list and the byte budget, decided before the first call** · free
  - Why: Deciding what leaves the machine after you have already sent a month of mail to a provider is not a decision, it is a discovery.
  - Get it: Write the patterns and the byte budget into configuration and review the rendered preview for ten real threads.
  - Verify: The preview for ten threads contains nothing you did not intend to send

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Hosted provider sign-in and the verification that comes with it.
- A mobile application and push notifications.
- Multiple accounts.
- Anything that sends without a click.
- A mobile app and real push notifications, which is where most email actually gets read
- Managed OAuth with Google and Microsoft, including the review process and token refresh pain
- Someone else absorbing provider API changes, rate limits and broken threading
- Polish: keyboard shortcuts, fast search, snooze, undo send, offline behavior
- Any sending reputation work if the product handles outbound at scale

If one of those is essential to you, that is the reason to keep paying for Mailient, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Because email is the one app that has to work at 7am on a phone with two bars of signal, and a self-hosted poller on a home server does not clear that bar. People pay to skip OAuth verification, token refresh, IMAP quirks and the slow realization that their triage cron died four days ago and they missed an invoice. The AI part is commodity; the boring reliability around it is what the subscription actually buys.

what you lose

xA mobile app and real push notifications, which is where most email actually gets read

xManaged OAuth with Google and Microsoft, including the review process and token refresh pain

xSomeone else absorbing provider API changes, rate limits and broken threading

xPolish: keyboard shortcuts, fast search, snooze, undo send, offline behavior

xAny sending reputation work if the product handles outbound at scale

prior art · use these instead of building, if you'd rather

Nothing worth pointing at. That's why the prompt exists.

share on X ↗"I just replaced Mailient ($29/mo) with one prompt"
questions
Vibecode Mailient

Kinda. The core of Mailient is buildable in a weekend with the prompt on this page, but there are real gaps: A mobile app and real push notifications, which is where most email actually gets read, Managed OAuth with Google and Microsoft, including the review process and token refresh pain. Read the honest list above before committing.

How much does Mailient cost?

Mailient costs about $29/month (Monthly, checked 2026-08-18), which is $348 per year.

What do I lose by replacing Mailient?

Honestly: A mobile app and real push notifications, which is where most email actually gets read; Managed OAuth with Google and Microsoft, including the review process and token refresh pain; Someone else absorbing provider API changes, rate limits and broken threading; Polish: keyboard shortcuts, fast search, snooze, undo send, offline behavior; Any sending reputation work if the product handles outbound at scale. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Mailient?

No mature open-source alternative worth pointing at, which is exactly why the one-shot prompt on this page exists.