# alot vs S-nail

- alot: Terminal mail reader written in Python that works on a local notmuch database, with tag-based search and threads.
- S-nail: Command-line mail program that implements POSIX mailx, with MIME, IMAP, POP3, SMTP, Maildir and S/MIME support.

## Differences

- alot is a full-screen terminal client; S-nail is a command-line program.
- Only alot has built-in notmuch.
- Only S-nail has built-in IMAP, POP3, SMTP and mbox.
- alot has mouse support; S-nail does not.
- alot has OpenPGP; S-nail does not.
- S-nail has S/MIME; alot does not.
- S-nail has OAuth2 sign-in; alot does not.
- alot has Vim-style keys; S-nail does not.
- alot is written in Python; S-nail in C.
- Configuration: alot uses INI-style config file plus optional Python hooks, and S-nail uses ~/.mailrc command file.

## Side by side

| | alot | S-nail |
| --- | --- | --- |
| Interface | Full-screen terminal interface | Command-line tools and prompts |
| Language | Python | C |
| License | GPL 3.0 or later | ISC and BSD 2-Clause and BSD 3-Clause and BSD 4-Clause |
| Linux | Native | Native |
| macOS | Native | Native |
| Windows | Through WSL | Through WSL |
| BSD | Native | Native |
| Android | Not supported | Not supported |
| IMAP | Through a separate tool | Yes |
| POP3 | Through a separate tool | Yes |
| SMTP | Through a separate tool | Yes |
| JMAP | No | No |
| Maildir | Yes | Yes |
| mbox | No | Yes |
| notmuch | Yes | No |
| OpenPGP | Yes | No |
| S/MIME | No | Yes |
| OAuth2 sign-in | No | via script |
| Threads | Yes | Yes |
| Search | notmuch queries | built-in message specifications and the search command; IMAP SEARCH on IMAP folders |
| HTML mail | via mailcap, e.g. w3m -dump | built-in tag-soup filter or external viewer via mailcap |
| Mouse | Yes | No |
| Multiple accounts | Yes | Yes |
| Offline use | always; reads a local notmuch database | IMAP cache with disconnected mode |
| Calendar | No | No |
| Contacts | via an external lookup command such as abook, khard or notmuch address | aliases via the alias command |
| Vim-style keys | Yes | No |
| Configuration | INI-style config file plus optional Python hooks | ~/.mailrc command file |

Pages: [alot](https://terminalemail.com/clients/alot/index.md), [S-nail](https://terminalemail.com/clients/s-nail/index.md)
