Sync your email into SQLite so agents can search it in milliseconds

A developer syncs his Microsoft mail into a local SQLite database exposed read-only to his agent.

Difficulty
AdvancedOur rating
Time to build
Not reportedOur estimate
Monthly cost
Not reported
Revenue
Not reportedWe only show revenue the source states
Engagement
0 replies to HN commentComment in β€œAsk HN: Who is using MCP in production?” (198 points, 201 comments) Β· fetched Oct 15, 2026

What they did

infogulch built an MCP that syncs all his Microsoft mail into SQLite with full-text search and exposes query and get tools read-only.

How it went

Most queries finish in under 10 ms, and agents find things quickly even with vague questions.

Worth knowing

Read-only access and small outputs keep it safe and cheap.

Builder recipe

Our own starting point, written from the source. Adapt it to your setup.

Stack

  • Mail sync script
  • SQLite FTS5
  • Read-only MCP server

Steps

  1. Give the agent access only to the accounts it needs.
  2. Write a clear brief with hard constraints.
  3. Ask it to report back before anything irreversible.
  4. Review the outcome and refine the brief.

Starter prompt

Find the email thread where we agreed the contract renewal date with [company] and quote the line.

Tags

Read the original

Related use cases

The Daily 5.

Five real AI agent use cases each morning, each with a recipe and a source. Plus a Sunday roundup. Free.