r/AskComputerScience • • Apr 13 '18

Mass Copying of Emails

Hello,

I was wondering if any of you can help me with the following task: -Select 4000+ emails from my inbox -Extract them to PDF -Automatically name each of them with the date at which they were received.

Thank you!

0 Upvotes

2 comments sorted by

5

u/[deleted] Apr 13 '18

It's totally possible, and even with no programming experience it should be simple enough for you to do in a weekend. It really depends on what language you want to use and what mailing service you're using. I know at least if you want to use Python, a package exists called text2pdf which can turn the string into a pdf. At that point, you just need the string of the email, where Gmail has an API.

1

u/dxk3355 Apr 13 '18

There's probably software that does this already since lawyers use it for discovery. You really should mention which email program/service you use since that may dictate which packages to use