Updated notmuch to only be available for full-text search. Removed
complete afew configuration.
Added msmtp as mail sending agent.
Added structured neomutt configuration with custom bindings, built for
my personal gmail account, without any plaintext passwords revealed,
etc.
This is a reasonably well working mail setup,
which should provide a stable starting point for further refinements.
Additionally, added some functionality to `mail-check` script:
Allowed user to choose sync target for each run, by
passing in mbsync target (group/channel/..) as the argument.
Also, allows setting password file to use for script through env var,
and made imapfilter location less hard-coded to my system.
Added hook for afew tagging for local mail.
Mail will now arrive tagged only as 'new' by notmuch.
afew will then tag the mail accordingly as inbox unread when it is
personal mail.
It will additionally filter out anything marked as spam, or e-mail
containing a List-Id header, which will be tagged as 'list' and not
arrive in the inbox. This filters out anything arriving from a mailing
list from the inbox.
Removed the archive tag -- anything not in the inbox, and not marked as
list is instead used as an automatic archive.
Mail sent by myself will be automatically tagged as 'sent' and also not
show up in the mailbox.