TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to Delete Gmail Attachments Without Deleting the Emails

137 点作者 strnisa超过 2 年前

14 条评论

nousermane超过 2 年前
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 未加载
fevangelou超过 2 年前
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 未加载
crazygringo超过 2 年前
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 未加载
kevincox超过 2 年前
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 未加载
Ladyady超过 2 年前
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 未加载
1659447091超过 2 年前
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 未加载
bartvk超过 2 年前
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.
mooes超过 2 年前
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.
umvi超过 2 年前
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__超过 2 年前
&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 未加载
derekzhouzhen超过 2 年前
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.
rajasimon超过 2 年前
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 未加载
Waterluvian超过 2 年前
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 未加载
encryptluks2超过 2 年前
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 未加载