[verdetto][prompt curato][fonte: getinboxzero.com]
Posso vibecodare Inbox Zero?
// si costruisce in un weekend, ma restano buchi veri
Il loop base su una Gmail personale è un progetto da fine settimana: classificare, etichettare, preparare bozze. Il salto è renderlo affidabile dentro una inbox vera — OAuth, refresh dei token, rate limit, sync continua. Inbox Zero è open source: chi vuole il prodotto pieno self-hosta il codice ufficiale.
confidenza: alta
cos’è: Assistente email AI che ordina la inbox, scrive bozze di risposta, blocca le cold email e automatizza le pulizie
Indice di costruibilità · gioco editoriale
- Prezzo 20 $/mese · a persona peso: più 2
- Tempo un weekend peso: più 2
- Categoria email non pesa
- Moat integrazioni · qualità di esecuzione peso: meno 2
- Confidenza alta peso: più 1
- Cosa perdi 5 voci peso: meno 2
- Sito getinboxzero.com (si apre in una nuova scheda) non pesa
Si pareggiano. È il caso in cui decide quanto ti sta antipatico l’abbonamento.
Gioco editoriale: il verdetto dice se un agente può, l’indice se conviene.
Cosa costruisci
Osservare una inbox Gmail, classificare ed etichettare i nuovi thread, creare bozze di risposta da rivedere e raggruppare i mittenti rumorosi per fare pulizia.
cosa ti serve
- client OAuth su Google Cloud
- API key OpenAI
- Node 22
- macchina sempre accesa o VPS per l'elaborazione continua
Segnalato da chi lo ha creato. Il prodotto completo è open source, quindi self-hostarlo è onestamente la via DIY più rapida; il prompt qui sotto delimita invece una build da zero, da fine settimana.
Il prompt
Un weekend con un agente di coding. I buchi che restano sono qui sotto, in «cosa perdi».
Build me a self-hosted personal Gmail assistant that covers the core Inbox Zero loop.
Use Node 22 + TypeScript + Fastify + better-sqlite3; server-rendered HTML and vanilla JS, no React.
Run on localhost by default, with one Dockerfile for an always-on VPS behind Caddy.
Support exactly one Gmail or Google Workspace mailbox through the Gmail API.
Use a Google OAuth client from .env and request only gmail.modify and gmail.compose; store the refresh token encrypted with an APP_SECRET.
On first run, import 14 days of mail; then poll Gmail history every two minutes and persist the last history ID.
Deduplicate jobs by Gmail message ID, use exponential backoff for transient API failures, and surface a failed-jobs page.
Rules live in rules.md: label definitions, priority senders, newsletters, cold email, and messages that need a reply.
For each new thread, call the OpenAI API with the thread text plus rules.md and require validated JSON: labels, priority, needsReply, summary, and optional draftReply.
Apply Gmail labels automatically, but never archive, delete, unsubscribe, or send without a click.
When needsReply is true, create or update a Gmail draft in the original thread; never send mail from the app.
Build one dashboard with Priority, Needs reply, Newsletters, Cold email, and Failed jobs views.
Add a bulk-cleanup screen grouped by sender with message counts and List-Unsubscribe support; show the exact action and require confirmation.
Add a small analytics page: daily received count, top senders, category totals, and estimated time saved.
Store only IDs, classifications, job state, and draft metadata in SQLite; do not persist full message bodies after processing.
Redact tokens and email contents from logs; add CSRF protection and bind the admin UI to localhost unless ADMIN_TOKEN is set.
Include fixture-based tests for classification parsing, idempotent sync, label application, draft creation, and unsubscribe confirmation.
Out of scope: Outlook, multiple accounts, mobile apps, Slack/Telegram, calendar context, attachment filing, multi-user accounts, billing, and telemetry.
README: exact Google Cloud OAuth setup, scopes and redirect URI, .env example, how to revoke access, Docker/Caddy deployment, backups, and expected LLM costs.
Return finished code with migrations and scripts for dev, test, and start; no pseudocode or TODOs. Prompt curato: scritto e rivisto a mano per questa app. In inglese di proposito — è la lingua in cui gli agenti di coding rendono meglio.
Cosa perdi
- il supporto a Outlook e un multi-account affidabile
- un refresh dei token collaudato, push sync, retry, gestione dei rate limit e uptime in background
- le risposte che imparano il tuo tono, con più contesto da casella, calendario e knowledge base
- la chat su Slack e Telegram, l'accesso da mobile, i briefing sulle riunioni e l'archiviazione degli allegati
- sicurezza gestita, compliance, amministrazione del team, monitoraggio e supporto
Perché pagano ancora
Si paga per il setup in due clic e per la certezza che un'integrazione delicata come quella con la posta resti sincronizzata, si riprenda dai guasti del provider e mantenga funzionanti le sue integrazioni. Chi preferisce possedere l'infrastruttura può self-hostare il prodotto open-source ufficiale invece di mantenere una riscrittura più piccola.
moat: Integrazioni Qualità di esecuzione cos’è un moat
prodotto open-source, hosting gestito, OAuth, integrazioni e affidabilità
Alternative gratuite
Non hai voglia di costruirtelo? Queste esistono già, sono gratis o open source, e le abbiamo controllate una per una.
Chi l’ha già costruito
Partire da qui è vibecoding lo stesso: il prompt serve quando lo vuoi esattamente a modo tuo.
- Inbox Zero (si apre in una nuova scheda) — The official open-source product, with a supported self-hosting path. (alive)
Quanto costa in un anno
20 $/mese 240 $/anno
Listino 20 $ al mese a persona su Inbox Zero. L’anno è dodici mesi pieni, senza sconti annuali.
Sei d’accordo?
La bilancia dei voti
Ancora nessun voto: il tuo è il primo.
Nessun voto ancora — il primo pesa.