# Rail

> Modern terminal mail client for Gmail, Microsoft 365, and AI agents

- Canonical URL: https://fosshunter.com/tools/rail
- JSON export: https://fosshunter.com/tools/rail.json
- Website: https://github.com/vitosans/rail
- Category: Email & Communication
- Open source: yes
- Self-hostable: yes
- Verified listing: no
- Featured: no
- Published at: 2026-11-11T03:25:59+00:00
- Catalog revision: `2184480243`

## Repository metrics (point-in-time)

- Repository: https://github.com/vitosans/rail
- Stars: 136
- Forks: 9
- Open issues: 15
- License: Apache-2.0
- Last push: 2026-11-29T21:44:43+00:00
- Metrics observed at (synced_at): 2026-12-04T09:49:18+00:00
- Archived: no

Tags: email, Self-Hosted, Terminal, Rust
Tech stacks: python, ratatui, rust, Shell, sqlite

## Features
- Syncs mail to a local SQLite database for instant searching and offline access. *(highlighted)*
- Includes a unified inbox and command palette for a keyboard-driven workflow. *(highlighted)*
- Provides an MCP server to allow AI agents to safely interact with your email. *(highlighted)*

## Description

Rail is a modern terminal mail client for Gmail and Microsoft 365. It syncs messages to a local SQLite database for instant access and features a unified inbox, command palette, and an MCP server for AI agent integration.

---
Source: [FOSSHunter — Rail](https://fosshunter.com/tools/rail) — cite `synced_at` and the catalog revision when quoting metrics.
Interpretation rules: https://fosshunter.com/llms-full.txt
