https://github.com/staktrace/mailtools
https://github.com/staktrace/mailtools
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/staktrace/mailtools
- Owner: staktrace
- Created: 2010-11-27T00:21:36.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2016-07-14T12:28:53.000Z (almost 10 years ago)
- Last Synced: 2025-01-25T03:44:25.275Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
mailtools
=========
3 simple steps to download all of your Gmail:
1. Download the code:
$ git clone https://github.com/staktrace/mailtools
2. Build the code:
$ javac *.java
3. Download your mail:
$ java GmailDownloader
(enter username and password at the prompts)
This will download all of your mail and store it in RFC822-encoded files, starting at 00001.msg and counting up.
You can abort the download at any time by hitting ctrl+c, and resume it later from where you left off by running it with the -s option:
$ java GmailDownloader -s <index>
where <index> is the last one that got downloaded.
For non-Gmail hosts that use regular IMAP, steps 1 and 2 are the same; but modify step 3 to specify the host and port:
$ java ImapDownloader mail.dreamhost.com 993
Run "java GmailDownloader --help" or "java ImapDownloader --help" for more help on the commands you can use.