Skip to content

armchaircaver/List-gmail-emails-and-sizes-with-Python-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

List-gmail-emails-and-sizes-with-Python-3

Efficiently read list of gmail emails and sizes with Python 3

Python script to list all emails in a gmail account, including the size of each email.

The list is output to a tab delimited file, so that the results can be easily loaded into an excel spreadsheet and analysed by sorting and pivot tables to identify large emails and large numbers or sizes of emails from particular senders or to particular recipients.

The script does not read the body of the email, just the sender, recipient, subject and size. It obtains all the emails in a single fetch, which is much more efficient than fetching data for each email individually.

On my laptop it can read and process approx 20,000 emails in a minute.

About

Efficiently read list of gmail emails and sizes with Python 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages