EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > Google Gmail Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Stay in touch wirelessly

Google Gmail Forum Discussions related to Google's Gmail service should go here: suggestions, tips, comments, requests for help, tech issues etc.

Reply
 
Thread Tools
Old 26 Jan 2024, 04:32 PM   #1
friderday
= Permanently banned =
 
Join Date: Jan 2024
Posts: 4
How to delete all emails older than 2 years?

Hello, I have a lot of old emails in my Gmail inbox that I don't need anymore. I want to delete all emails that are older than 2 years, but I don't know how to do that. I tried to use the search function, but it only allows me to filter by date range, not by age. Is there a way to delete all emails older than a certain date? If there isn't any possible way, I have to do it one by one and it will take forever to delete over fifty thousand emails

Last edited by CyberSmurf : 31 Jan 2024 at 07:36 AM. Reason: OP returned and added spam link. Copy post. Remove link in original. Unapprove copy.
friderday is offline   Reply With Quote

Old 26 Jan 2024, 08:15 PM   #2
CyberSmurf
 Moderator 
 
Join Date: Nov 2001
Location: British Columbia
Posts: 4,000
Do you mean "filter by date range", or sort by date range?

If you can filter by date range then there shouldn't be a problem.
Assuming that you have archived (moved out of your inbox) all messages that you wish to keep.
In webmail use the search ...
Quote:
older_than:2y in:inbox
After clicking the checkbox at the top left a bar will appear.
Quote:
All 50 messages on this page are selected. Select all messages that match this search
Click on "select all messages".


--

Alternately you can use a search like ...
Quote:
before:2022/01/01 -in:keep -in:important
Replace "keep" with any label for messages that you don't wish to delete. Remember to include the minus sign ("-") before īn" for labels that you wish to keep..


---

See https://support.google.com/mail/answer/7190?hl=en for "Search operators you can use with Gmail".

Last edited by CyberSmurf : 26 Jan 2024 at 08:32 PM. Reason: tweak post
CyberSmurf is offline   Reply With Quote
Old 27 Jan 2024, 01:41 AM   #3
CyberSmurf
 Moderator 
 
Join Date: Nov 2001
Location: British Columbia
Posts: 4,000
Here's a search that you may wish to run first ...
Quote:
older_than:2y in:inbox has:nouserlabels
CyberSmurf is offline   Reply With Quote
Old 27 Jan 2024, 09:28 AM   #4
TenFour
Master of the @
 
Join Date: Feb 2017
Location: USA
Posts: 1,626
Using Gmail's webmail I would just select Allmail, then select the box that says Any Time and adjust for a custom range. Once I had selected all the emails older than 2 years I would just select all and delete.
TenFour is offline   Reply With Quote
Old 27 Jan 2024, 01:01 PM   #5
friderday
= Permanently banned =
 
Join Date: Jan 2024
Posts: 4
if I sort it as you guys say and one more button named "Select all conversations that match this search". Finally all the the old spam mails are gone
Thank you so much.

Last edited by friderday : 27 Jan 2024 at 01:50 PM.
friderday is offline   Reply With Quote
Old 28 Jan 2024, 10:45 AM   #6
Bamb0
Master of the @
 
Join Date: Feb 2005
Location: USA
Posts: 1,845
Welcome to EMD!

You really had 50,000 messages??

Wow..Im glad we helped ya


What did it say for how full your mailbox was?? (I reckon around 20% full (1 has to get really high to max out a gmail account))
Bamb0 is offline   Reply With Quote
Old 30 Jan 2024, 12:12 PM   #7
friderday
= Permanently banned =
 
Join Date: Jan 2024
Posts: 4
yes, nearly 50,000. Unfortunately, there are a lot of spam mails and I had to unsubscribe all of them
friderday is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 08:05 PM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy