IMAP: save messages locally when they get deleted from server

emailimapthunderbird

The scenario is:

  • an IMAP server with little space (say 1GB)
  • quite a few IMAP clients (say 2 phones, 1 tablet, 3 PCs) with an email client such as Thunderbird 38.3 or later

What I'd like to achieve is this:

  1. all PCs clients should keep a full copy (not just the header) of messages
  2. all PCs clients should save locally any message deleted remotely (i.e. move full message to a local folder before deleting it from its own IMAP folder, as a result of syncronization)

This way one could save space on IMAP server while keeping a local copy of all (full) messages on each PC (provided that PC clients are syncronized when an email is deleted from a non-PC client — avoiding deletion from non-PC clients could be a workaround to ensure that local copies are complete).

I found some related questions that address similar scenarios (like this and this), but none gives a solution to this question.

I believe that this is quite a common need, so I hope that some email client guru, hopefully Thunderbird, come up with a solution.

Best Answer

Until a better solution is found, I guess that the best workaround is to manually archive older messages when needed (e.g. when IMAP server quota limit is approaching). Of course you have to activate messages archiving to a local folder, for each IMAP account (this is necessary to make the "Archive" command button appear when you select messages).

I've also tried some add-on like Awesome Auto Archive and AutoarchiveReloaded, but both were unsatisfactory: the first gave me an error during configuration, the second is safer if run manually.

I hope some day Thunderbird will add a "simple" option for IMAP accounts able to automatically archive older messages when quota limit is approaching. I really wonder why such an important feature for IMAP accounts has not already been implemented.

Related Question