TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Delete Gmail Attachments Without Deleting the Emails

137 pointsby strnisaalmost 3 years ago

14 comments

nousermanealmost 3 years ago
Mutt can do that. Open an email, &quot;v&quot;, select attachment to delete, &quot;d&quot;. Done.<p>Works with gmail, too - assuming you&#x27;ve jumped through the necessary hoops to enable full read-write IMAP access to your account.<p>Edit: Hoops are:<p>- Gmail Settings &gt; Enable IMAP<p>- Gmail Settings &gt; Auto-Expunge: off<p>- Gmail Settings &gt; When a message is marked as deleted and expunged from the last visible IMAP folder: Immediately delete the message forever<p>- Gmail Settings &gt; Folder size limits: Do not limit<p>- Account Settings &gt; Secutiry &gt; Signing in &gt; App password &gt; (create one)
评论 #32465454 未加载
评论 #32463218 未加载
评论 #32466301 未加载
fevangeloualmost 3 years ago
The business model of Unattach seems problematic though. Folks with storage issues are the ones who will not want to pay to increase storage for their Google account (not judging) but they would pay for a service to delete attachments?
评论 #32464706 未加载
评论 #32466319 未加载
评论 #32465134 未加载
crazygringoalmost 3 years ago
I had no idea there was an API to modify the content of existing e-mails.<p>Sorry if this is a dumb question, but doesn&#x27;t this open up the ability alter e-mail history at will? And so alter e-mails you&#x27;d received and&#x2F;or sent?<p>Is there a record of this somewhere? What effect does this have on using e-mails as evidence in court cases, for example? Or is there a technical detail that necessarily gives this away?
评论 #32464219 未加载
评论 #32464289 未加载
评论 #32466162 未加载
评论 #32465481 未加载
kevincoxalmost 3 years ago
Thunderbird can also do this. You can select which attachments to remove.<p>IDK if it supports in-place quality reduction though.
评论 #32466266 未加载
评论 #32463606 未加载
评论 #32463595 未加载
Ladyadyalmost 3 years ago
Nice app. I&#x27;m forever running out of Google One storage and didn&#x27;t realise this was possible.<p>On your blog, as it&#x27;s obvious you&#x27;re the creator of the tool, I think it would go over better if you said something like:<p>&#x27;Fortunately, I&#x27;ve created a web app called Unattach that solves this use case.&#x27;<p>Also, please consider left aligning your text as dyslexic people struggle with justified copy.
评论 #32466945 未加载
1659447091almost 3 years ago
This reminded me of a google apps script hack&#x2F;solution on stack overflow [1]<p>Havent used it in awhile so not sure if anything changed<p>[1] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;46434390&#x2F;remove-an-attachment-of-a-gmail-email-with-google-apps-script&#x2F;46591868" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;46434390&#x2F;remove-an-attac...</a>
评论 #32463172 未加载
bartvkalmost 3 years ago
I didn&#x27;t see anyone mentioning it, but the default Mail.app on macOS can do this as well. Menu bar -&gt; Message -&gt; Remove Attachments.
mooesalmost 3 years ago
This is something that a decent email client should do for you automatically.<p>I hate to say this but Outlook actually works best for me for keeping my email account to a sensible size. I use a simple VB script that I trigger with a keyboard shortcut which strips all attachments from a mail but adds the filenames of the attachments stripped at the top of the mail (&quot;Attachment(s) removed: &lt;file1&gt;, &lt;file2&gt;, ...&quot;). Very useful to keeping track of what was actually sent.<p>The other things that Outlook does really well is converting pesky HTML mails to plain text. I don&#x27;t mean to just display them as plain text, but actually convert them to plain text, scrubbing all that superfluous HTML nonsense. Just open a mail, edit, format as plain text, save. I would love to find another (FLOSS) client that can do this as easily&#x2F;efficiently.<p>I keep all old mails (that are not spam or otherwise superfluous) in a folder in my account (not Gmail, but the same principle) and can always quickly refer back to them. 100,000s of mails over 18 years barely make a dent in my allowance -- just about a GB out of 10 GB. At that rate, I won&#x27;t run out of space with this workflow before I kick the bucket.
umvialmost 3 years ago
This app works great. Used it to reduce my and my wife&#x27;s email from 90%+ capacity back down to 20% which should be good for at least 5 years.
评论 #32467038 未加载
V__almost 3 years ago
&gt; From a technical point of view, the app deletes the attachment by inserting a new email (the one without the attachment) into your Gmail, and then deleting the original email (the one with the attachments).<p>I hope there is a big warning when using the app, because this makes these emails (maybe even the whole conversation chain?) wortheless should they be needed as some kind of legal evidence.
评论 #32464053 未加载
评论 #32463965 未加载
derekzhouzhenalmost 3 years ago
I have a script to auto-delete all attachments in emails more than one month old. I think it is the only sane way to keep emails around for long-term: There is no point to keep something unsearchable and greatly bloat up your mailbox.
rajasimonalmost 3 years ago
What do they mean by this word &quot;has been verified by Google&quot;? Say If I have the app that involve third-party and verifying badge provided by the same third-party is life changing.
评论 #32467052 未加载
评论 #32466216 未加载
评论 #32466643 未加载
Waterluvianalmost 3 years ago
I always thought emails were immutable. I need to still believe that’s true.<p>Also I might be wrong but one major issue I’m having is the lack of deduplication. I sent a video once and then we talked about it for a few hundred emails and all of a sudden I had used up gigabytes of my google cloud storage.
评论 #32464956 未加载
encryptluks2almost 3 years ago
The verification badge appears to be misleading. As far as I&#x27;m aware having a public OAuth App isn&#x27;t an official verification by Google and I&#x27;m surprised you haven&#x27;t run into legal issues yet.
评论 #32467063 未加载