How to delete emails with large file attachments

My Gmail account is populated with large emails.

how can i delete larger emails from my gmail account.

or any other job to save space in my gmail id. any API call or any program for this?

+4
source share
3 answers

Very simple

Search

larger:20m 

20m - file size

and if you need time search

 older_by:300d larger:20m older_by:300d 

will give you files older than 300 days and a larger file at 20 m

+2
source

Base on Search Operators that you can use with Gmail , you can use size or larger to search for any messages that exceed a certain size in bytes.

Example

 size:10000000 

or

 larger:10M 
0
source

Alternatively, you can save emails and simply remove attachments using Slimbox , the simple cross-platform tool I wrote. Feedback is welcome.

0
source

Source: https://habr.com/ru/post/1479299/


All Articles