4 ms·
Can notmuch or sup somehow store the tags on the IMAP server? If I were to ever leave GMail (and there may be reasons to do so), it would be pretty painful for
by nine_k 4y ago
Can notmuch or sup somehow store the tags on the IMAP server?
If I were to ever leave GMail (and there may be reasons to do so), it would be pretty painful for me to stop using tags. Folders don't cut it; many of my incoming emails have 2-3 tags. To have tags on my laptop but not on my phone (even in a rudimentary way) would be painful, too.
I can imagine that tags could be stored in some hidden / special folders, and a conforming client could be able to at least read them and synchronize with the local mail DB.
- em-bee 4y agoIMAP spec appears to support custom keywords (labels): https://stackoverflow.com/questions/3632102/imap-custom-keywords https://stackoverflow.com/questions/3632102/imap-custom-keyw... but not every IMAP server implements those. it might also be difficult to synchronize those. (how would you get a list of all keyword changes since last time?) tracking keyword changes locally and then submitting a hidden message with the changes seems like a hack (and how would you deal with conflicts?) likewise tracking tags for all messages in a hidden location. (how much space would that take?) i sympathize with the problem, but it looks like a non-trivial challenge to me. it's probably easier to solve the local sync issues.
- em-bee 4y agoIMAP does have a way to update flags for seen messages: https://stackoverflow.com/questions/10689062/synchronize-replicate-imap-messages https://stackoverflow.com/questions/10689062/synchronize-rep... and supposedly it is efficient, so this would work after all.
- argulane 4y agoFor Gmail you can use lieer. It uses Gmail API's to sync mail and labels between notmuch and Gmail. https://github.com/gauteh/lieer https://github.com/gauteh/lieer
- nine_k 4y agoMany thanks!