Skip to content

Email ​

Email accounts read mail over IMAP and send over SMTP. Set one up with the Email setup guide.

Folders ​

An email account's chats are its folders: Inbox, Sent, Archive (where the server has one; on Gmail, archiving moves mail to All Mail, which has no row) and the labels you show (see Labels). Each has its unread count. Above them sit the compose and labels chips. Entering the account opens the inbox.

Conversations ​

A folder opens as a list of conversations as wide as the pane, the newest first, under a heading for each day. The pane's title counts the unread ones:

╭─ EM Inbox · 2 unread ───────────────────────────╮
│  today ───────────────────────────────────────  │
│ ▎ ● Alice Smith                           14:05 │
│ ▎   Quarterly report (3)                        │
│     Bob                                   09:12 │
│     Lunch on Friday?                            │
│  yesterday ───────────────────────────────────  │
│     Carol                                 18:40 │
│     Invoice 2291                                │

Each conversation takes two lines: who it is with (who wrote last, or whom you wrote to) and the time of the newest mail, then its subject with the number of mails. Unread conversations are bold with a dot; read ones are dimmed. Mails are grouped by their reply headers, or failing those, by a Re: or Fwd: subject. Your replies join the conversations they answer, wherever they are filed.

Space expands a conversation into its mails, oldest first, and collapses it again. While no mail is open, ← moves to the sidebar and → back to the folder (terminals 100 columns or wider).

Reading ​

Enter or a click opens the selected mail, or a conversation's newest, in the reader with its headers and whole text, and marks it read. Opening a conversation marks all of it read.

When the folder pane is 120 columns or wider, the reader opens beside the list and takes the focus; narrower, it takes the list's place. Esc closes it. [ moves back to the list with the reader still open, and ] to the reader again.

Under the mail sits a quick reply box. Enter (or a click on it) starts typing; the box wraps and grows with the text. Enter sends it as a reply to the mail, quoting it as r would, and Esc stops typing, keeping the text until the reader closes.

In the reader:

KeyAction
↑/↓, j/kScroll
Space/bPage
g/GTop, bottom
oOpen the attachment with the default app
sSave the attachment to ~/Downloads
EnterType a quick reply
EscClose

HTML mail is reduced to text, and nothing it references (images, trackers) is fetched.

Actions ​

These keys work in the list, on the selected conversation or mail, and in the reader, on the mail being read:

KeyAction
cCompose a new mail
rReply
RReply to all
fForward, with the attachments
dMove to Trash
aArchive (where the server has an archive)
mMove to another folder or label, picked from a list
uMark read; on read mail, mark the newest unread
/Search the folder on the server; Esc clears the results

Trash doesn't ask first: mail can be moved back from it. On Gmail, Trash removes the mail from every label.

Several at once ​

v starts visual mode, picking the selected row. Space picks or drops more conversations or mails (* marks them, and the title counts them), then d, a, m or u acts on all of them at once. Esc leaves visual mode.

Writing ​

c, r, R and f open the composer, a large modal over the screen: To, Cc, Subject and Attach fields over the text. Replies quote the original below the cursor; replies to all copy the other recipients.

KeyAction
Tab, Shift+TabNext and previous field
Tab in To or CcTake the address offered, from the people you have mailed
Enter in AttachAttach the file typed; Tab completes the path
Backspace in an empty AttachDrop the last file
Ctrl+SSend
EscClose, keeping the draft: c opens it again
Ctrl+XDiscard the draft

A mail's attachments come to at most 25 MB. One draft is kept at a time.

Labels ​

Gmail labels (on other servers, folders) can be shown in the sidebar. The labels are read when you sign in and again every few minutes. The labels chip opens a list of every label, each ticked when it is in the sidebar:

KeyAction
Space, clickShow or hide the label in the sidebar, at once
EnterShow the label and open it
TypeFilter the labels
EscClose

Only shown labels are synced, several at once, each on its own connection, as are the inbox and Sent. Folders other than the inbox refresh every few minutes and after you act on them; the inbox updates as mail arrives.

Cache ​

Mail is cached in wiregram.db for the window set by the account's Keep mail cached setting: 30 days, 90 days (the default), 1 year or all. Pruning the cache never touches the server. Mail moved or deleted in another client leaves its folder here at the next sync.

What email doesn't do ​

Email has no reactions, mentions, Unread or Mentions rows, and AI powered chat bots never answer mail.

Released under the AGPL v3 License.