Terminal Email

aerc

TUIEmail client

Terminal email client written in Go with IMAP, JMAP, Maildir and notmuch backends and an embedded terminal for editing.

aerc is a full-screen terminal email client with tabs, vim-style keybindings and an embedded terminal that runs the editor and other programs inside the interface. It reads IMAP, JMAP, Maildir and notmuch mailboxes, opens mbox files read-only, and sends over SMTP or a sendmail command. It suits developers who review patches by email, with built-in commands for applying and replying to patch series.

Type
Email client
Interface
Full-screen terminal interface
Systems
Runs on Linux, macOS and BSD, on Windows through WSL, on Android through Termux.
Language
Go
License
MIT
Latest version
0.22.0
Background
Continuation of the original aerc by Drew DeVault
Maintained
Yes
Website
aerc-mail.org
Source
git.sr.ht/~rjarry/aerc
Documentation
man.sr.ht

Install

SystemSupportInstall
LinuxNative
aptsudo apt install aerc
dnfsudo dnf install aerc
pacmansudo pacman -S aerc
macOSNative
Homebrewbrew install aerc
WindowsThrough WSL
WSLsudo apt install aerc

No native Windows build; runs in WSL.

BSDNative
FreeBSD pkgpkg install aerc
OpenBSDpkg_add aerc
AndroidThrough Termux
Termuxpkg install aerc

Protocols and features

Protocols
Protocolaerc
IMAPYes
POP3No
SMTPYes
JMAPYes
MaildirYes
mboxYes
notmuchYes
Features
Featureaerc
OpenPGPYes
S/MIMENo
OAuth2 sign-inYes
ThreadsYes
Searchbuilt-in; server-side for IMAP and JMAP; notmuch queries
HTML mailvia filters, w3m by default
MouseYes
Multiple accountsYes
Offline usewith mbsync or OfflineIMAP through the Maildir backend; IMAP header cache
CalendarYes
Contactsvia address-book-cmd, e.g. khard or the bundled carddav-query
Vim-style keysYes
ConfigurationINI-style files: accounts.conf, aerc.conf, binds.conf

Pros and cons

Pros

  • Embedded terminal runs the editor and other commands inside aerc
  • Built-in commands for applying and reviewing git patch series
  • Supports JMAP and notmuch as well as IMAP and Maildir

Cons

  • No POP3 or S/MIME support
  • mbox files open read-only
  • No native Windows build

Use aerc with Forward Email

A working setup for a Forward Email mailbox. Replace you@example.com with your alias and the password command with your own. The same settings work with any provider once the server names change.

~/.config/aerc/accounts.conf (macOS: ~/Library/Preferences/aerc/accounts.conf)
# Forward Email: IMAP over SSL/TLS (993), SMTP over SSL/TLS (465)
# The @ in the username is URL-encoded as %40
[Forward Email]
source            = imaps://you%40example.com@imap.forwardemail.net:993
source-cred-cmd   = pass show email/forwardemail
outgoing          = smtps://you%40example.com@smtp.forwardemail.net:465
outgoing-cred-cmd = pass show email/forwardemail
from              = Your Name <you@example.com>
default           = INBOX
copy-to           = Sent Mail
postpone          = Drafts
ProtocolServerPortSecurity
IMAPimap.forwardemail.net993SSL/TLS
POP3pop3.forwardemail.net995SSL/TLS
SMTPsmtp.forwardemail.net465SSL/TLS
SMTPsmtp.forwardemail.net587STARTTLS

Username: your full alias address, such as you@example.com. Password: the one shown by Generate Password next to the alias in your Forward Email account. Folders: INBOX, Drafts, Sent Mail, Trash, Spam and Archive.

Prefer no config at all? Forward Email's terminal app signs in with your account and has mail, calendar and contacts in one program.

Compare aerc

All aerc alternatives

Questions

Does aerc work on Windows?

Not natively. It runs in Windows Subsystem for Linux (WSL). No native Windows build; runs in WSL.

Does aerc support IMAP?

Yes, aerc connects to IMAP servers directly.

Is aerc open source?

Yes, under the MIT.

How do I use aerc with Forward Email?

Use the config in the Forward Email section on this page, saved as ~/.config/aerc/accounts.conf (macOS: ~/Library/Preferences/aerc/accounts.conf), and replace the address and password with your own.

Sources