#2525th of 54 in Agent and MCP starters

open-agent-email

Self-hosted email inboxes for AI agents with an approval gate

Stars
2.1k
License
Apache-2.0
Last commit
Oct 2026
Language
Python
Stars, last 29 weeks+499
21 Apr 2026: 1,632 stars28 Apr 2026: 1,633 stars5 May 2026: 1,634 stars12 May 2026: 1,635 stars19 May 2026: 1,637 stars26 May 2026: 1,637 stars2 Jun 2026: 1,643 stars9 Jun 2026: 1,671 stars16 Jun 2026: 1,727 stars23 Jun 2026: 1,750 stars30 Jun 2026: 1,777 stars7 Jul 2026: 1,792 stars14 Jul 2026: 1,814 stars21 Jul 2026: 1,831 stars28 Jul 2026: 1,879 stars4 Aug 2026: 1,902 stars11 Aug 2026: 1,913 stars18 Aug 2026: 1,941 stars25 Aug 2026: 1,959 stars1 Sept 2026: 1,975 stars8 Sept 2026: 1,994 stars15 Sept 2026: 2,006 stars22 Sept 2026: 2,023 stars29 Sept 2026: 2,036 stars6 Oct 2026: 2,058 stars13 Oct 2026: 2,084 stars20 Oct 2026: 2,099 stars27 Oct 2026: 2,109 stars3 Nov 2026: 2,120 stars10 Nov 2026: 2,131 stars

1,632 on 21 Apr 20262,131 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Runs a FastAPI server with its own SMTP listener on port 25 that gives each agent a real address, threaded mailbox and API. Incoming mail is checked for SPF, DKIM and DMARC and scanned for prompt injection. Outgoing mail goes through a relay you configure (SES, Resend, SendGrid, Postmark, Gmail) and can be held until a person approves it. Agents connect through REST, webhooks, WebSocket, Python and TypeScript SDKs, a CLI, or 96 MCP tools.

Who it is for: Engineers giving AI agents their own email addresses with human approval

Strengths

  • Approval gate with emailed approve/reject links, expiry and per-message history
  • Per-inbox API keys with read-only, send and review-only scopes
  • Many integration paths: REST, signed webhooks, WebSocket, SDKs without dependencies, CLI, MCP
  • SQLite by default, PostgreSQL supported; includes dashboard and Alembic migrations

Weaknesses

  • Single-user: one admin key, no customer accounts or multi-tenancy yet
  • Receiving from large providers and off-host backups still in progress
  • Receiving internet mail requires a public host, MX record and open port 25
  • Delivery and bounce tracking is built only for Amazon SES

What it needs

  • Python
  • Needs SMTP relay (e.g. Amazon SES), PostgreSQL (optional), Node.js (dashboard)

Quick answers

Is open-agent-email open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Can you run open-agent-email with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Agent and MCP starters

See all 54
Also in Agent and MCP starters
RankProjectScore
1deepseek-harnessPlugin-based agent harness from DeepSeek with a local Web UI278.8k stars+32,022 (+13%) in 30 daysMIT98 out of 100
2composioTypeScript and Python SDKs that give agents authenticated tools across 1000+ apps31k starsMIT92 out of 100
3conductorDurable workflow engine that orchestrates microservices and LLM agents from JSON32.5k stars+251 (+0.8%) in 30 daysApache-2.091 out of 100
#4mcp-useTypeScript framework for building MCP servers with React Views and an Inspector Live demo ↗ (opens in a new tab)10.9k stars+131 (+1.2%) in 30 daysMIT87 out of 100
#5a2uiProtocol and renderers for agents to stream native UI instead of text Live demo ↗ (opens in a new tab)17.1k stars+418 (+2.5%) in 30 daysApache-2.086 out of 100