IMAP with server deletion

Sam Halliday sam.halliday at
Fri Jul 5 06:22:29 PDT 2019

Hello all,

I'm using emacs + notmuch + offlineimap + msmtp to manage my Gmail.

My gmail account is starting to get so big that an offline sync is time

I'd like to delete messages on the server, but keep them locally. Is
that possible with IMAP?

There is one complicating factor that stops me from being able to use
fetch-only POP3: I'd like to keep files on the server if they have the
+flagged tag, which is equivalent to "starred" in the Gmail interface.

Has anybody got a setup similar to this?

-------------- next part --------------

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <>

More information about the notmuch mailing list