Logo

dev-resources.site

for different kinds of informations.

ACTUALLY Deleting Emails in gSuite/gMail

Published at
6/21/2024
Categories
gmail
gsuite
imap
label
Author
ferricoxide
Categories
4 categories in total
gmail
open
gsuite
open
imap
open
label
open
Author
11 person written this
ferricoxide
open
ACTUALLY Deleting Emails in gSuite/gMail

Each month, I archive all the contents of my main gSuite account to a third-party repository. I do this via an IMAP-based transfer.

Unfortunately, when you use an IMAP-based transfer to move files, Google doesn't actually delete the emails from your gMail/gSuite account. No, it simply removes all labels from them. This means that instead of getting space back – space that Google charges for in gSuite – the messages simply become not-easily-visible within gMail. None of your space is freed up and, thus, space-charges for those unlabeled emails continue to accrue.

Discovered this annoyance a couple years ago when my mail-client was telling me I was getting near the end of my quota. When I first got the quota-warning, I was like, "how??? I've offloaded all my old emails. There's only a month's worth of email in my Inbox, Sent folder and my per-project folders!" That prompted me to dig around to discover the de-labled/not-deleted fuckery. So, I dug around further to find a method for viewing those de-labeled/not-deleted files. Turns out, putting:

-has:userlabels -in:sent -in:chat -in:draft -in:inbox

In your webmail search-bar will show you them …and allow you to delete them.

My gSuite account was a couple years old when I discovered all this. So, when I selected all the unlabeled emails for deletion, it took a while for Google to actually delete them. However, once the deletion completed, I recovered nearly 2GiB worth of space in my gSuite account.

gmail Article's
30 articles in total
Favicon
My SaaS passed CASA Tier 2 Assessment and yours can too. Here is how
Favicon
Most Promising Ways to Transfer Yahoo Mail to Gmail Account
Favicon
Gmail tips and tricks pt: 1 replies to a email
Favicon
Implementing Gmail Sending with Cloudflare Workers - Setup Guide
Favicon
Google Workspace Mail Management
Favicon
Archive Emails Older than a Year in Gmail [Complete Guide]
Favicon
Implementing Gmail API with Cloudflare Workers - Part 3: Implementation
Favicon
Implementing Gmail Sending with Cloudflare Workers - Development Guide
Favicon
HOW TO SET UP AN APP PASSWORD FOR GOOGLE SERVICES
Favicon
How to Send Emails in Python Using Gmail’s Free SMTP Mail Server API
Favicon
How to Open EML Files in Gmail Account?
Favicon
How to Open MBOX File in Gmail Account?
Favicon
Use Custom Domain Email On Gmail, with ImprovMX and Sendgrid
Favicon
How to Use Gemini in Gmail?
Favicon
Practical Guide to Send Emails from NodeJS/Express App using Gmail and Nodemailer (Screenshots and Code)
Favicon
Configuring Gmail or Yahoo mail accounts in SQLMessenger
Favicon
3 Easy Steps to Setup Gmail Less Secure Apps(Django)
Favicon
Buy PVA Google Voice Accounts
Favicon
How To Integrate Gmail API In Your Node.js Application
Favicon
8 Gmail Hacks that you shouldn't miss
Favicon
Cancel Sync / Import from Other Mail to Gmail Account
Favicon
Setup Custom Email with Cloudflare and Mailgun
Favicon
Tutorial To Open Email Header in Gmail
Favicon
Telegram bot for viewing, receiving and sending emails from any mail server including Gmail.
Favicon
Keyboard Shortcuts Gmail: Boosting Your Productivity in a Click!
Favicon
How to Report Messages as Spam in Gmail to Improve Your Work and Life?
Favicon
El post mas leido este aΓ±o
Favicon
ACTUALLY Deleting Emails in gSuite/gMail
Favicon
Nest WiFi firmware update error
Favicon
Outlook spam filter | How to set it up and customize it

Featured ones: