Email

Rail – terminal email client for Gmail and Microsoft 365

Rail is a terminal-based email client for Gmail and Microsoft 365. It provides a keyboard-driven interface for reading, organising and composing messages without relying on a conventional graphical email application.

The client follows a local-first approach, maintaining a copy of email messages in an SQLite database. A background daemon synchronises messages with the configured accounts, allowing browsing and searching to operate against locally stored data. This separates everyday email navigation from network requests and helps keep the interface responsive.

Rail is designed for users who prefer managing email from the terminal. Its interface combines a mailbox sidebar, message list and conversation reader, with facilities for navigating multiple accounts from one application. Messages can be composed using the user’s preferred text editor, while the terminal interface handles mailbox management and other email operations.

This is free and open source software.

Key Features

  • Unified inbox combines messages from multiple Gmail and Microsoft 365 accounts.
  • Background synchronisation daemon maintains a local SQLite email store.
  • Conversation-oriented reader displays email threads with collapsible older messages and quoted text.
  • Renders HTML messages with formatting and images, with controls governing the loading of remote pictures.
  • Incremental filtering, saved searches and a command palette simplify mailbox navigation.
  • Supports archiving, deleting, starring, marking messages as read, moving messages and managing Gmail labels.
  • Bulk message operations, snoozing and undo functionality help manage larger mailboxes.
  • Compose new messages, replies and forwards using an external text editor, with synchronised drafts and a ten-second undo-send window.
  • Customisable keyboard shortcuts with Vim, Mutt, Emacs, Gmail and Outlook presets.
  • Authentication tokens can be stored in the operating system’s keyring, a private file or 1Password.
  • Includes the rail doctor diagnostic command and an MCP server for agent-assisted configuration.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/vitosans/rail
Support:
Developer: Vito Sansevero
License: MIT License or Apache License 2.0

Rail in action

Rail is written in Rust. Learn Rust with our recommended free books and free tutorials


Related Software

Console Email Clients
NeoMuttBrings together many patches to extend Mutt
mu4eAn extension of mu that runs a full-featured email client within Emacs
HimalayaCLI email client written in Rust
SupCurses threads-with tags style email client
MuttSmall but very powerful text based program
AlpineAlternatively Licensed Program for Internet News and Email
meliConfigurable and extensible e-mail client with sane defaults
nmailUser interface similar to alpine / pine
alotLets notmuch handle your mailindex and uses a toolkit to render its display
WanderlustMail/news management system with IMAP4rev1 support for Emacs
aercBilled as a "pretty good email client"
matchaPowerful, feature-rich email client for your terminal
ConeCOnsole Newsreader And Emailer
bowerCurses frontend for the Notmuch email system
Indicium Mail TUIKeyboard-driven terminal interface with a streamlined workflow
CXPostCross-platform desktop app for managing multiple accounts
mxrLocal-first messaging app built for speed and offline use
EpistKeyboard-centric desktop app for fast, focused correspondence
VmailVim interface to Gmail
neatmailNon-interactive email client

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted