A mail client for the terminal. Works with Gmail, iCloud and any IMAP server, shows HTML mail with its layout, and keeps everything on your computer.
On macOS 13+ or Linux with glibc 2.35+ (Ubuntu 22.04, Debian 12), arm64 or x86_64:
curl -fsSL https://postalmail.dev/install.sh | sh
postalThe script puts postal in ~/.local/bin. On first run Postal asks for a
mail provider and a sign-in; ? lists every key. postal update replaces it
with the latest release. Each archive carries a build provenance
attestation; gh attestation verify postal-<target>.tar.gz -R kryptamine/postal
checks that the release workflow built it from this repository.
To build from source instead, with Rust 1.89+ and a C++ compiler:
git clone https://github.com/kryptamine/postal && cd postal
make installmake install puts postal in ~/.cargo/bin, and over the postal found
first on PATH when that is another, as install.sh's is.
Postal opens a Draft in $EDITOR. In Neovim 0.10+, the
plugin completes To:, Cc: and Attach: as you type,
:PostalSend sends the Draft without leaving the editor, and
:PostalAgent lets an ACP agent edit the
Draft for you to review hunk by hunk. The plugin is optional, and calls
postal: keep it on the latest release with postal update.
{
"kryptamine/postal",
version = "*",
main = "postal",
opts = {},
}vim.pack.add({
{
src = "https://github.com/kryptamine/postal",
version = vim.version.range("*"),
},
})
require("postal").setup({})vim.pack needs Neovim 0.12; on older versions clone the repository at its
latest tag into a pack/*/start/ directory on your packpath, then call
require("postal").setup({}).
nvim/ lists the options, commands and keys.
postal setup-mailto makes Postal the system's handler of mailto: links:
a click on one in a browser opens a terminal on a new Draft. On macOS it
installs a small launcher app in ~/Applications, and Settings (,, the
Mailto tab) chooses Terminal.app, Ghostty, kitty, WezTerm, iTerm2 or a
program of your own; on Linux it writes a desktop entry, and the desktop
picks the terminal. postal setup-mailto --remove, or the same switch in
Settings, gives the links back to the handler before.
postal mcp serves Postal's mail to any MCP
client on its stdio: Folders, Threads, Messages and Search, from what the
last sync left, and folder_sync, which fetches new mail when the TUI is
not open. In Claude Code:
claude mcp add postal -- postal mcpThe same tools are commands for a shell, postal message list, postal folder sync and their siblings; postal help lists them, and --json
prints what the tools answer.
make # list the targets
make check # lint, cargo deny, tests and the Neovim check