My neomutt config
As I've mentioned before, I spend an unreasonable amount of time tweaking and overthinking configs for various tools but my email client, neomutt, more than most. As the kind of fossil who got his start with elm, I find mutt downright luxurious.
Since most of my config was cribbed from various examples posted on blogs all over the internet, it seems only fair to include mine in case it might be useful to someone. Sometime soon, I'm planning on releasing all my configs in a proper repo but I'm lazy and no one is paying me for that.
The real star of my email setup, however, is feedmail. It allows me to keep out of the algorithmic hellscape that is Reddit and focus on the things I have actually decided I want to see rather than the things that grab my attention in the moment. The improvement in my mood is truly shocking to me.
# Personal info
set real_name = 'John Doe'
set from = "me@example.com"
set signature = '~/.config/mutt/signature'
# Server config
set my_user = "username"
set my_pass = "sooper_secrit"
set imap_user = $my_user
set imap_pass = $my_pass
set smtp_user = $my_user
set smtp_pass = $my_pass
set smtp_authenticators = "plain"
set smtp_url = "smtps://smtp.fastmail.com:465"
set use_envelope_from
# Mailboxes
set spoolfile = "imaps://imap.fastmail.com/"
set folder = $spoolfile
set record = +Sent
set trash = +Trash
set postponed = +Drafts
mailboxes $record $trash $postponed =rss =rss-bulk =read-later =INBOX
# Make save work a little better
save-hook feedmail\\.org$ +read-later
save-hook . +Archive/%{%Y}
unset confirmappend
set delete
# Use threads
set use_threads = threads
set sort = date
set sort_aux = date
# Configure the header cache to be faster
set header_cache
set header_cache_backend = lmdb
# Make html email a little less obnoxious
alternative_order text/enriched text/plain text/html application/pdf image/*
auto_view text/enriched text/plain text/html application/pdf
macro pager b "<pipe-entry>urlscan -C true -d -s<return>"
# Clean up the headers shown in the pager
ignore *
unignore date: from to: subject:
# Misc neomutt settings
set abort_noattach = ask-yes
set compose_show_preview
unset mark_old
set pager_context = 1
bind index,pager @ compose-to-sender
# Color scheme
source '~/.config/mutt/catppuccin.colors'