Marty Oehme
407ad0473f
Fixed running the hooks for `mail-check`. Command (or variable?) substition prevented the hooks from running completely beforehand, so I moved them to a separate function with the option remaining to call a custom script for them through environment variables. Ideally the env vars (`MBSYNC_PRE` and `MBSYNC_POST`) should only point to a single script each, as more involved commands will presumably fail to execute correctly when whitespace substition is involved. See more explanation here: https://unix.stackexchange.com/a/444949 |
||
---|---|---|
.. | ||
.config | ||
.local/bin | ||
README.md |
e-mail module
aerc - terminal mail client isync - mirror your Imapped mail directory locally with two way synchronization notmuch - index and search your mail
The current mail setup uses mbsync
(from the isync project) to locally mirror the GMail imap folder.
It, as of now, needs to be manually run by invoking mbsync gmail
-- which expects your username and password to reside in a pass
accessible file called misc/aerc-gmail-app-password
.
In other words --- this is very specific to my setup and if transferring the options, please customize to your needs.
Then, notmuch
can be run on the local maildir to generate and indexed full-text search engine.
Right now, notmuch
can only be used through its cli, it is not yet connected to aerc
.
aerc
picks up the maildir created by mbsync
in ~/documents/mail
and works on it.
mbsync
syncs any changes made back to the remote imap directory.