by nousermane · 4y ago · 0 comments
Works with gmail, too - assuming you've jumped through the necessary hoops to enable full read-write IMAP access to your account.
Edit: Hoops are:
- Gmail Settings > Enable IMAP
- Gmail Settings > Auto-Expunge: off
- Gmail Settings > When a message is marked as deleted and expunged from the last visible IMAP folder: Immediately delete the message forever
- Gmail Settings > Folder size limits: Do not limit
- Account Settings > Secutiry > Signing in > App password > (create one)
People are willing to pay for convenience. Your mutt isn’t going to automatically find all large attachment, downsize them or handle inline images, but you didn’t read the article so you wouldn’t know that.
Removing attachments is a standard feature of just about any email client, even extremely barebones/cli ones. That was the point. Yet, Gmail is lacks this convenience. Are you seriously arguing that none wants Gmail?
No, across many emails, at least not without writing some macros.
Sort-of, labeling deleted attachment. You can attach a label to whole email, or edit raw, to edit/replace an attachment with placeholder/label text. A bit fiddly, but doable with some vim-fu.
That's a "feature" of gmail's IMAP server that is easy to confuse for a client bug - see pugio's comment about having exact same problem when using Thunderbird.
Gmail knows nothing about folders (where given email is in exactly one of those), instead using "labels" (which an email can have zero or more of). Problematic "feature" here is that their IMAP interface exposes labels as folders. So, if client asks server to delete message from given folder, instead gmail removes label with that name (then adds "Archive" label, to confuse thing just that little bit more)
Luckily, there is an obscure "When a message is marked as deleted and expunged from the last visible IMAP folder" option to rectify this intentional defect.
Mu/mu4e: https://emacs.stackexchange.com/questions/23812/remove-attac...
Thunderbird: https://www.datarecovery.institute/remove-attachments-from-t...