MELI(7)
π meli(7) β the manual page bestie, come get your mail client tutorial β¨
Miscellaneous Information Manual Β· meli(7)
πΈ NAME πΈ
meli β the tutorial for the meli terminal e-mail client, and yes it's a whole vibe, iykyk π
β¨ SYNOPSIS β¨
meli [...]
π¦ DESCRIPTION π¦
meli is a terminal mail client that is aiming for extensive and user-friendly configurability. like, it really wants you to be able to make it yours, no cap.
^^ .-=-=-=-. ^^
^^ (`-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-`) ^^ ^^
^^ (`-=-=-=-=-=-=-=-`) ^^
( `-=-=-=-(@)-=-=-` ) ^^
(`-=-=-=-=-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-=-=-`)
^^ (`-=-=-=-=-=-=-=-=-`) ^^
^^ (`-=-=-=-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-`) ^^
^^ (`-=-=-=-=-`)
`-=-=-=-=-` ^^
π INTRODUCTION π
To quit meli, press β¨qβ© (shortcuts.general.quit) β literally at any time. like, whenever. bestie, you're never trapped in there. π«Ά
When you launch it for the very first time, meli goes looking for its configuration directory: $XDG_CONFIG_HOME/meli/. If that doesn't exist yet, it's gonna ask you if you wanna create one, and it'll hand you a sample configuration file ($XDG_CONFIG_HOME/meli/config.toml) that already has the basic settings you need for setting up accounts, so you can just copy and edit right away. iconic behavior tbh. π
See meli.conf(5) for all the available configuration options. π
At any time you can press β¨?β© (shortcuts.general.toggle_help) and get a searchable list of every available action and shortcut, plus every possible setting and command that your version supports. it's giving built-in documentation, we love to see it β¨
Every time a shortcut shows up in this document, there's a parenthesis right next to it with the name of the shortcut setting and its section in the config settings, so you can modify it if you want. so thoughtful of it fr fr.
For example, to set the toggle_help shortcut mentioned in the paragraph above, add this to your configuration:
[shortcuts]
general.toggle_help = 'F1'
Or alternatively:
[shortcuts.general]
toggle_help = 'F1'
To go to the next tab on the right, press β¨Tβ© (shortcuts.general.next_tab). π
π INTERACTING WITH meli π
You will be interacting with meli in four primary ways:
- keyboard shortcuts in NORMAL mode.
- commands with arguments in COMMAND mode.
- regular text input in text input widgets in INSERT mode.
- any kind of input that gets passed directly into an embedded terminal in EMBED mode.
π MODES π
meli is a modal application, just like vi(1). This means that pressing the same keys in different modes would yield different results. The way that it lets you separate how the input is interpreted without needing to focus your input with a mouse? obsessed. π
- NORMAL β This is the default mode of
meli. All keyboard shortcuts work in this mode. main character mode, honestly. π - COMMAND β Commands are issued in COMMAND mode, by default started with β¨:β© (
shortcuts.general.enter_command_mode) and exited with the β¨Escβ© key. - EMBED β This is the mode of the embed terminal emulator. To exit an embedded application, issue β¨Ctrl-Cβ© to kill it, or β¨Ctrl-Zβ© to stop the program and then follow the instructions on
melito exit. - INSERT β This mode is entered when pressing β¨Enterβ© on a cursor-selected text input field, and it captures all input as text input. It is exited with the β¨Escβ© key.
β ACTIVE SHORTCUTS POPUP β
By pressing β¨?β© (shortcuts.general.toggle_help) at any time, the shortcuts popup display status gets toggled. You can find all valid shortcuts for the current UI state you are in. π₯
ββshortcutsββPress ? to closeβββββββββββββββββββββββββββββββββ
β ββ
β use COMMAND "search" to find shortcuts ββ
β Use Up, Down, Left, Right to scroll. ββ
β ββ
β pager ββ
β ββ
β PageDown page_down ββ
β PageUp page_up β
β j scroll_down β
β k scroll_up β
β β
β view mail β
β β
β c add_addresses_to_contacts β
β e edit β
β u toggle_url_mode β
β a open_attachment β
β m open_mailcap β
β R reply β
β C-r reply_to_author β
β C-g reply_to_all β
β C-f forward β
β M-r view_raw_source β
β h toggle_expand_headers ββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Shows active shortcuts in order of the widget hierarchy. π§
π MAIN VIEW π
βββββββββββββββββββββββββ
ββββββΌβββββββββββββββββββ€
β___ β ___________ β
β _ β _______________ β
β _ β__________________β
β _ β ___________ β
β β _____ β
β β β
ββββββ΄βββββββββββββββββββ
The main view's layout. π
This is the view you will spend the most time with in meli.
Press β¨β©</yellow> (shortcuts.listing.toggle_menu_visibility`) to toggle the sidebar's visibility.
Press β¨Leftβ© (shortcuts.listing.focus_right) to switch focus onto the sidebar menu. Press β¨Rightβ© (shortcuts.listing.focus_left) to switch focus onto the e-mail list.
On the e-mail list, press β¨kβ© (shortcuts.listing.scroll_up) to scroll up, and β¨jβ© (shortcuts.listing.scroll_down) to scroll down. Press β¨Enterβ© (shortcuts.listing.open_entry) to open an e-mail entry and β¨iβ© (shortcuts.listing.exit_entry) to exit it.
π«Ά The sidebar π«Ά
ββββββββββββββββββββ
β mailβ contact liβ
βpersonal account β
β 0 INBOX β
β 1 β£βSent β
β 2 β£βLists β
β 3 β β£βmeli-dev β
β 4 β ββmeli β
β 5 β£βDrafts β
β 6 β£βTrash β
β 7 ββfoobar β
β 8 Trash β
β β β β β β β β β β
Press β¨kβ© (shortcuts.listing.scroll_up) to scroll up, and β¨jβ© (shortcuts.listing.scroll_down) to scroll down.
Press β¨Enterβ© (shortcuts.listing.open_mailbox) to open an entry (either a mailbox or an account name). Entering an account name will show you a page with details about the account and its network connection, depending on the backend. π¦
While focused in the sidebar, you can βcollapseβ a mailbox tree, if it has children, and you can open it with β¨Spaceβ© (shortcuts.listing.toggle_mailbox_collapse). You can have mailbox trees collapsed on startup by default by setting a mailbox's collapsed setting to true.
See meli.conf(5) section MAILBOXES for details. π
You can increase the sidebar's width with β¨Ctrl-pβ© (shortcuts.listing.increase_sidebar) and decrease it with β¨Ctrl-oβ© (shortcuts.listing.decrease_sidebar).
π The status bar π
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βNORMAL | Mailbox: Inbox, Messages: 25772, New: 3006
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The status bar shows which mode you are in, and the status message of the current view. In the pictured example, it shows the status of a mailbox called βInboxβ with lots of e-mails. (like, lots lots π)
π’ The number modifier buffer π’
βββββββββββββββ
12 β
βββββββββββββββ
Some commands may accept a number modifier. For example, scroll down commands can receive a multiplier n to scroll down n entries. Another use of the number buffer is opening URLs inside the pager.
See βPAGERβ for an explanation of interacting with URLs in e-mails. π₯
Pressing numbers in NORMAL mode will populate this buffer. To erase it, press the β¨Escβ© key. periodt. π
β¨ MAIL LIST β¨
okay so bestie, the mail list is where the magic happens and you have four different list styles to vibe with:
- "plain" which shows one line per e-mail.
- "threaded" which shows a threaded view with drawn tree structure.
- "compact" which shows one line per thread which can include multiple e-mails.
- "conversations" which shows more than one line per thread which can include multiple e-mails with more details about the thread.
πΈ Plain view.
β42 Fri, 02 Sep 2022 19:51 xxxxxxxxxxxxx < [PATCH 3/8] β
β43 Fri, 02 Sep 2022 19:51 xxxxxxxxxxxxx < [PATCH 2/8] β
β44 Fri, 02 Sep 2022 19:51 xxxxxxxxxxxxx < [PATCH 1/8] β
|45 Fri, 02 Sep 2022 19:51 xxxxxxxxxxxxx < [PATCH 0/8] |
β46 Fri, 02 Sep 2022 18:18 xxxxxxxx <xxxxx Re: [PATCH 3β
π¦ Threaded view.
β12 9 hours ago xxxxxxxxxxxxxxx [PATCH v3 0β
β13 9 hours ago xxxxxxxxxxxxxxx ββ>[PATCH β
β14 9 hours ago xxxxxxxxxxxxxxx ββ>[PATCH β
|15 9 hours ago xxxxxxxxxxxxxxx ββ>[PATCH |
β16 9 hours ago xxxxxxxxxxxxxxx ββ>[PATCH β
β17 9 hours ago xxxxxxxxxxxxxxx ββ>[PATCH β
β18 2022-08-23 01:23:51 xxxxxxxxxxxxxxx [RFC v4 00/β
β19 2022-08-23 01:23:52 xxxxxxxxxxxxxxx ββ>[RFC v4β
|20 2022-08-30 10:30:16 xxxxxxxxxxxxxxx β ββ> |
β21 6 days ago xxxxxxxxxxxxxxx β ββ> β
β22 2022-08-23 01:23:53 xxxxxxxxxxxxxxx ββ>[RFC v4β
π Compact view.
β18 2022-β¦:38 xxxxxxxxxxxxxxx [PATCH v3 3/3] uβ¦_l() (2) β
|19 2022-β¦:49 xxxxxxxxxxxxxxx [PATCH v8 0/7] Aβ¦e (3) |
β20 2022-β¦:10 xxxxxxxxxxxxxxx [PATCH v8 2/7] fβ¦s (2) β
β21 2022-β¦:38 xxxxxxxxxxxxxxx [PATCH v8 3/7] bβ¦s (2) β
β22 2022-β¦:53 xxxxxxxxxxxxxxx [PATCH v6 00/10] pβ¦g (31) β
π Conversations view.
β[PATCH v2] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (5) β
|1 day agoββββxxxxxxxxxxxxx <xxxxxxxxxxxxx@xxxxxxxxxx>, xxxxxβ
β |
β[PATCH v2 0/8] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxβ
β1 day agoββββxxxxxxxxxxxxxxx <xxxxxxxxxx@xxxxxxxxxxxxxx>, xxβ
| β
β[PATCH 0/2] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (4) |
β2 days agoββββxxxxxxxxxxxxxxxx <xxxxxxxx@xxxxxxxxxxx>, xxxxxβ
β β
β[PATCH 0/8] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (12) β
β2 days agoββββxxxxxxxxxxxxx <xxxxxxxx@xxxxxxxxxx>, xxxxxxxxxβ
π«Ά Performing actions on entries and/or selections.
Hit β¨Vβ© (shortcuts.listing.select_entry) to toggle the selection of a single entry, no cap. And β¨vβ© (shortcuts.listing.select_motion) can be prefixed by a number modifier and affixed by a scrolling motion (up or down) to select multiple entries at once β it's giving efficiency honestly.
You can also do simple set operations on a selection with these shortcut modifiers:
- Union modifier: β¨Ctrl-uβ© (
shortcuts.listing.union_modifier) - Difference modifier: β¨Ctrl-dβ© (
shortcuts.listing.diff_modifier) - Intersection modifier: β¨Ctrl-iβ© (
shortcuts.listing.intersection_modifier)
To set an entry as "read", use the β¨nβ© (shortcuts.listing.set_seen) shortcut. To set an entry as "unread", use the command
set unseen
which also has its complement
set seen
action. π
For e-mail backends that support flags you can use the following commands on entries and selections to modify them:
flag set FLAG
flag unset FLAG
For e-mail backends that support tags (like "IMAP" or "notmuch") you can use the following commands on entries and selections to modify them:
tag add TAG
tag remove TAG
(see meli.conf(5) TAGS, settings colors and ignore_tags for how to set tag colors and tag visibility) π
You can clear the selection with the β¨Escβ© key. periodt.
β¨ PAGER β¨
You can open an e-mail entry by pressing β¨Enterβ© (shortcuts.listing.open_entry). This brings up the e-mail view with the e-mail content inside a pager. iconic behavior.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βDate: Sat, 21 May 2022 16:16:11 +0300 ββ
βFrom: Narrator <narrator@example.com> ββ
βTo: Stanley <427@example.com> ββ
βSubject: The e-mail ending ββ
βMessage-ID: <gambheerata@example.com> ββ
β ββ
βThe story, and the choices, or what have you, and thereforeββ
βby becoming it is! So on and so forth, until inevitably, we β
βall until the end of time. At which time, everything all at β
βonce, so now you see? Blah, blah, blah, rah, rah, rah... β
βWe've eaten too much and it can't be just yet. No, no! β
βUntil two-hundred and forty-five! But the logic of β
βelimination, working backwards, the deduction therefore β
βbecomes impossible to manufacture. It went on for nearly β
βten thousand years, until just yesterday. Here and there, β
βforward and back, and never a moment before lunchtime. It β
βcan't be! It's the only thing there is! How many billions β
βleft until so much more than forever ago! Which is why I β
βsay: β
β β
βThe story, and the choices, or what have you, and therefore β
βby becoming it is! So on and so forth, until inevitably, weββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The pager displaying an e-mail.
The pager is simple to use, bestie. Scroll with the following:
Go to next pager page β β¨PageDownβ© (shortcuts.pager.page_down)
Go to previous pager page β β¨PageUpβ© (shortcuts.pager.page_up)
Scroll down pager. β β¨jβ© (shortcuts.pager.scroll_down)
Scroll up pager. β β¨kβ© (shortcuts.pager.scroll_up)
All scrolling shortcuts can be prefixed with a number modifier which will act as a multiplier. β¨
The pager can enter a special url mode which will prefix all detected hyperlinks and e-mail addresses with a number inside square brackets β¨uβ© (shortcuts.pager.toggle_url_mode). Writing down a chosen number as a number modifier and pressing β¨gβ© (shortcuts.envelope_view.go_to_url) will attempt to open the link with the system's default open command (xdg-open(1) in supported OSes, and open(1) on MacOS). To override with a custom launcher, see "pager" configuration setting "url_launcher" (see meli.conf(5) PAGER for more details). π₯
π MAIL VIEW π
Other things you can do when viewing e-mail, queen:
- Most importantly, you can exit the mail view with: β¨iβ© (
shortcuts.listing.exit_entry) β yeah you gotta be able to leave, that's self care fr fr. - Add addresses from the e-mail headers to contacts: β¨cβ© (
shortcuts.envelope_view.add_addresses_to_contacts) - Open an attachment by entering its index as a number modifier and pressing: β¨aβ© (
shortcuts.envelope_view.open_attachment) - Open an attachment by its
mailcap(4)entry by entering its index as a number modifier and pressing: β¨mβ© (shortcuts.envelope_view.open_mailcap) - Reply to envelope: β¨Rβ© (
shortcuts.envelope_view.reply) - Reply to author: β¨Ctrl-rβ© (
shortcuts.envelope_view.reply_to_author) - Reply to all/Reply to list/Follow up: β¨Ctrl-gβ© (
shortcuts.envelope_view.reply_to_all) - Forward e-mail: β¨Ctrl-fβ© (
shortcuts.envelope_view.forward) - Expand extra headers: (References and others) β¨hβ© (
shortcuts.envelope_view.toggle_expand_headers) - View envelope source in a pager: (toggles between raw and decoded source) β¨M-rβ© (
shortcuts.envelope_view.view_raw_source) - Return to
envelope_viewif viewing raw source or attachment: β¨rβ© (shortcuts.envelope_view.return_to_normal_view)
π
π COMPOSING π
okay bestie, this is the part where you actually write the email, and honestly? it's giving main character energy. β¨
You've got two ways in:
- Wanna start fresh with a blank draft? smash β¨
mβ© (shortcuts.listing.new_mail) and a composer view pops open in a brand new tab. fresh start, clean slate, we love that for you. π¦ - Wanna reply to one specific email? hop into envelope view and pick your fighter:
- Reply to envelope. β¨
Rβ© (shortcuts.envelope_view.reply) - Reply to author. β¨
Ctrl-rβ© (shortcuts.envelope_view.reply_to_author) - Reply to all. β¨
Ctrl-gβ© (shortcuts.envelope_view.reply_to_all)
- Reply to envelope. β¨
To launch your editor, press β¨eβ© (shortcuts.composing.edit). To send your draft, press β¨sβ© (shortcuts.composing.send_mail). And if you wanna save it but NOT send it yet (valid, honestly), enter the command
close
and then select "save as draft". To get back to it later, go to your "Drafts" mailbox and hit β¨eβ© (shortcuts.envelope_view.edit). your draft was literally just chilling there waiting for you, no cap. π
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β mailβ contact list β composing βββββββββββββββββββββββββ
β COMPOSING MESSAGE β
β Date Mon, 05 Sep 2022 17:49:19 +0300 β
β From myself <myself@example.com>ββββ β
β To friend <myfriend@example.com>ββ β
β Cc βββββββββββββββββββββββββββββββ β
β Bcc βββββββββββββββββββββββββββββββ β
β Subject This is my subject!ββββββββββββ β
β β
β no attachments β
β β don't sign β
β β don't encrypt β
β β
β Hello friend!ββββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββββββββββββββββ β
β β
βNORMAL | Mailbox: Inbox, Messages: 25772, New: 3006 β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
See those lightly highlighted cells? those are your text input fields, bestie. type away. β¨οΈπ
If you enable the embed terminal option, you can launch your terminal editor of choice when you press edit. iconic behaviour honestly:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β mailβ contact list β composing βββββββββββββββββββββββββ
β βCOMPOSING MESSAGEββββββββββββββββββββββββββββββββββββ β
β β p/v/f/h/5/T/m/07f56b6e-ec09-49d9-b8d8-f0c5a81e7826 β β
β β 7 Date: Mon, 05 Sep 2022 18:43:10 +0300 β β
β β 6 From: Mister Cardholder <mrholder@example.com> β β
β β 5 To: β β
β β 4 Cc: β β
β β 3 Bcc: β β
β β 2 Subject: β β
β β 1 User-Agent: meli 0.7.2 β β
β β8 β β β
β β~ β β
β β~ β β
β β~ β β
β β~ β β
β β Nβ¦ <6e-ec09-49d9-b8d8-f0c5a81e7826 100% γ:8 β
:1β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β β
β β don't sign β
β β don't encrypt β
β no attachments β
β β
βEMBED | Mailbox: Inbox, Messages: 25772, New: 3006 β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
That's nvim(1) running inside the composing tab, fr fr. π§
The double line border annotates the area of the embedded terminal β the actual embedding is seamless. (the border is just there to be like "hey, this is the terminal zone", the vibe itself is uninterrupted π«)
composing mail commands π οΈ
add-attachment PATHβ in composer, addPATHas an attachment. drag that file into the conversation, queen. πadd-attachment < CMD ARGSβ in composer, pipeCMD ARGSoutput into an attachment. command output but make it an attachment. π₯add-attachment-file-pickerβ Launch command defined in the configuration valuefile_picker_commandinmeli.conf(5)TERMINAL. yes,TERMINALis literally the config section name. iykyk.add-attachment-file-picker < CMD ARGSβ Launch commandCMD ARGS. The command should print file paths in stdout, separated byNULbytes. Example usage withfzf:
add-attachment-file-picker < fzf --print0
cute, right? π
remove-attachment INDEXβ remove attachment with givenINDEX. (just the one at that index, don't come for the others π)toggle signβ toggle between signing and not signing this message. If thegpginvocation fails then the mail won't be sent. Seemeli.conf(5)PGPfor PGP configuration. no gpg, no send, periodt.save-draftβ saves a copy of the draft in theDraftfolder. it's safe, it's cozy, it's inDraft. π«Ά
π¨ THEMES π¨
See meli-themes(5) for documentation on how to theme meli.
that's it, that's the whole section β but the theme docs are where the real glow-up lives, bestie. go make it yours. π
π SEE ALSO π
meli(1), meli.conf(5), meli-themes(5), xdg-open(1), mailcap(5)
π AUTHORS π
Copyright 2017β2024 Manos Pitsidianakis <manos@pitsidianak.is>
Released under the GPL, version 3 or greater. This software carries no warranty of any kind. (See COPYING for full copyright and warranty notices.)
not me reminding you again: no warranty of any kind. read the COPYING file if you want the full receipts. π
π Links
- Website:
https://meli-email.org - Main git repository and issue tracker:
https://git.meli-email.org/meli/meli - Official read-only git mirror on
codeberg.org:https://codeberg.org/meli/meli - Official read-only git mirror on
github.com:https://github.com/meli/meli - meli crate on
crates.io:https://crates.io/crates/meli
okay that's a wrap on the whole page, bestie!! ππ This one came from Debian, dated March 10, 2024, and it's page MELI(7) β go forth and compose something iconic. mwah. π
β¨π¦
π¦ where this page comes from
- alpine 3.24: meli-doc 0.8.13-r0 Β· GPL-3.0-or-later
- debian trixie: meli 0.8.11+dfsg-1+b1 Β· GPL-3.0-or-later
- nixos 26.05: meli 0.8.13
- nixpkgs unstable: meli 0.8.13
- ubuntu questing: meli 0.8.11+dfsg-1
- ubuntu resolute: meli 0.8.13+dfsg-3 Β· GPL-3.0-or-later
- ubuntu stonking: meli 0.8.13+dfsg-4build1 Β· GPL-3.0-or-later
- Copyright 2017-2022 Manos Pitsidianakis
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms