offlineimap icon indicating copy to clipboard operation
offlineimap copied to clipboard

Synchronize Keywords

Open s-v-o opened this issue 5 years ago • 3 comments

My use case is to synchronize the local tags I assign with notmuch to my mails with Exchange categories over davmail. I've found that I could assign a category by connecting to davmail with the IMAP command STORE <id> +FLAGS (MyLabel)

The exchange categories are stored in the mail header as Keywords.

For this I need a biderectional way to synchronize the Keywords header by OfflineIMAP on a normal IMAP-Folder.

s-v-o avatar Apr 21 '20 15:04 s-v-o

Implementation ideas

  1. Synchronization like in GMail labels as a new Folder Type
  2. Integration in normal IMAP folder as a new option to synchronize Keywords as Flags

I consider to use a custom flag in the file name as a marker for keywords, so that only this mail headers are synchronized.

Are there any recommendations or things to consider? During my internet research I was surprised that the use case (synchronization of keyword headers) was discussed so rarely. Are there perhaps reasons for this that I do not know?

I found that the mail files should be immutable in general, but the discussed solutions I've found are very limited (single letter flags with fixed meaning in the file name). Also I've found, that there are some mail clients which are using the mail header to store labels. But currently I have found no possibility to synchronize the edited mail header back to the server.

s-v-o avatar Apr 21 '20 15:04 s-v-o

Any updates on this? I use MailMate on my Mac, Preside on my iPhone and would love to have a solution for syncing my imap keywords via offlineimap.

mayersj1 avatar Jun 12 '24 20:06 mayersj1

Please, consider moving to https://github.com/OfflineIMAP/offlineimap3

nicolas33 avatar Nov 05 '24 20:11 nicolas33