Now I'm wondering which of these extensions and strategies are employed by mainstream mail clients like Thunderbird, Apple Mail and Outlook?
I'm currently doing remote work from a location with an instable connection. Naturally I expected mails to work well in an async fashion, but instead... everything is really janky and I'm always unsure whether actions like moving an mail to a different actually 'went through' without loosing any mails.
To properly turn an agent like Claude Code or codex loose on my email, it seems like having it locally searchable is helpful, so I want to take a look at this.
Note that while tools like Claude Code run on your host, the inference model itself runs on the service provider's servers, so any files on which you operate are uploaded to their servers for processing.
Does this work as a replacement for the combination of mbsync/isync (doing the syncing from IMAP server to local Maildir) and imapfilter (noticing when sync should happen)?
Learning about IMAP - This does not support gmail because per the included checker app:
Password: 2025/10/16 15:43:03 Connecting to imap.gmail.com:993... 2025/10/16 15:43:03 Connected successfully 2025/10/16 15:43:03 Logging in as user@gmail.com... 2025/10/16 15:43:03 Logged in successfully 2025/10/16 15:43:03 Server capabilities: 2025/10/16 15:43:03 - ENABLE 2025/10/16 15:43:03 - APPENDLIMIT=35651584 2025/10/16 15:43:03 - IDLE 2025/10/16 15:43:03 - NAMESPACE 2025/10/16 15:43:03 - ID 2025/10/16 15:43:03 - XLIST 2025/10/16 15:43:03 - UIDPLUS 2025/10/16 15:43:03 - ESEARCH 2025/10/16 15:43:03 - UTF8=ACCEPT 2025/10/16 15:43:03 - CHILDREN 2025/10/16 15:43:03 - CONDSTORE 2025/10/16 15:43:03 - LIST-EXTENDED 2025/10/16 15:43:03 - LITERAL- 2025/10/16 15:43:03 - UNSELECT 2025/10/16 15:43:03 - QUOTA 2025/10/16 15:43:03 - MOVE 2025/10/16 15:43:03 - LIST-STATUS 2025/10/16 15:43:03 - SPECIAL-USE 2025/10/16 15:43:03 - IMAP4rev1 2025/10/16 15:43:03 - X-GM-EXT-1 2025/10/16 15:43:03 - COMPRESS=DEFLATE
Checking for required capabilities: UIDPLUS: SUPPORTED NOTIFY: NOT SUPPORTED CONDSTORE: SUPPORTED QRESYNC: NOT SUPPORTED
Some required capabilities are missing
Looks great! Curious what the author and others use for local maildir email reading.
I use isync and notmuch! With aerc as my reader.
mu4e, but I suspect that a local maildir is a poor choice anyway.
It's better to have a local cyrus running and connect to it by imap, with, say, gnus.
Well, it says its bidirectional, so perhaps you could run two instances pointed at the same local maildir, but at different IMAP servers?
You can do the same with a local cyrus.
Using CONDSTORE without an IDLE fallback rules out a lot of major providers.
Now I'm wondering which of these extensions and strategies are employed by mainstream mail clients like Thunderbird, Apple Mail and Outlook?
I'm currently doing remote work from a location with an instable connection. Naturally I expected mails to work well in an async fashion, but instead... everything is really janky and I'm always unsure whether actions like moving an mail to a different actually 'went through' without loosing any mails.
To properly turn an agent like Claude Code or codex loose on my email, it seems like having it locally searchable is helpful, so I want to take a look at this.
Note that while tools like Claude Code run on your host, the inference model itself runs on the service provider's servers, so any files on which you operate are uploaded to their servers for processing.
Does this work as a replacement for the combination of mbsync/isync (doing the syncing from IMAP server to local Maildir) and imapfilter (noticing when sync should happen)?
Anyone tried it?
[dead]
Seems like a clone of https://gitlab.com/Lockywolf/imap-idle-mail-checker/
The README for that project mentions IDLE, but not CONDSTORE.
So what happens if you lose your connection to the server? How do you get up to date with the current state?
mbsync does it.
It's separation of concerns, the monitor only checks that something has changed, while mbsync does the synchronisation.