What is Nuvrail?
Nuvrail is a self-hosted approval gateway for AI agents that work with email. It sits between an agent and an IMAP/SMTP mail server, letting email reads pass through while holding changes and outgoing messages for human review. People can inspect each proposed action, then approve or reject it through a web interface. The project is open source under the AGPL-3.0 licence and is designed to work with standard mail protocols without requiring changes to an agent.
Nuvrail Features:
IMAP and SMTP Proxy: The gateway sits between an agent and a mail server, passing reads through while intercepting proposed email writes and sends.
Staged Operations: Moves, deletes, flag changes, and outbound messages wait for approval before they are applied to the real mailbox.
Review Interface: A web interface shows pending actions with details such as the message subject, sender, and destination so a person can approve or reject them.
Delete Protection: The gateway blocks permanent deletion commands, while ordinary delete requests are staged for human approval.
Audit Log: Proposed, approved, and rejected actions are recorded in an immutable log.
Self-Hosted Setup: Docker Compose runs the web app, REST API, and IMAP/SMTP proxies, with production deployment options that include TLS.
Nuvrail Benefits:
Fewer Email Mistakes: Reviewing an agent’s changes before they reach the mailbox helps catch unintended sends, moves, or deletions.
Clear Accountability: A lasting record of decisions makes it easier to understand what the agent proposed and what a person allowed.
Keep Agent Work Moving: Because reads pass through immediately, an agent can continue inbox tasks without waiting for approval on every step.
Retain Mail Control: Blocking permanent deletion and requiring approval for writes keeps consequential mailbox changes under human control.
Inspect the Trust Layer: The open source core lets operators examine the proxy and staging logic they rely on to govern email actions.
Use Cases:
Review Agent Replies: Have a person check an AI-drafted response before an email agent sends it to a prospect, customer, or colleague.
Overnight Inbox Triage: Let an agent read and sort through incoming mail while holding proposed changes for review when you return.
Prevent Bulk Deletion: Put a human approval step between an agent and a request to delete one message or a group of messages.
Control Mailbox Changes: Review an agent’s proposed moves, folder changes, and flag updates before they alter a working inbox.
Test Email Agents: Run an IMAP/SMTP-compatible agent through the proxy in a local Docker Compose setup and inspect its staged writes.

