Built in January 2019. A Node.js application to scan the Gmail MBOX files (that contains all the inbox/sent email messages). The process will contain verification of the email messages count, and all email addresses count, validate each email address, and in the end, export all email addresses to a TXT file. Doing all of this, without any traditional database involved. Also, to build a script that merges a couple of merged TXT files, and pulls out their diff.
Clone the application to your computer. Steps to view the solution:
- Open server application on IDE (I use VSCode).
- In the terminal run: 'npm i'
- In the terminal run: 'npm start'.
In the terminal run: 'npm run crawl'. -Instructions & How to use:
- Place a valid MBOX file in the '/sources/' directory.
- Wait for the process to end.
- Get the final TXT file with all the email addresses. For Google Contacts:
- Make a copy of the final TXT file, and add all email addresses to Google Contacts. Each email address you add to Google Contacts, remove it from the list.
- Keep the final TXT file.
- Once a new MBOX file is created, run the script again.
- With the new final TXT file, make a copy of it.
- Compare the new file with the old file with the compare script.
- Once the diff file is created, make a copy of it.
- Once again, Each email address you add to Google Contacts, remove it from the list.
- After done, replace the new final TXT file with the old one.
Happy testing! :).
You'll need to install VSCode, Node, and clone the application, and in the terminal run: 'npm i'.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Or Assayag - Initial work - orassayag
- Or Assayag orassayag@gmail.com
- GitHub: https://github.com/orassayag
- StackOverFlow: https://stackoverflow.com/users/4442606/or-assayag?tab=profile
- LinkedIn: https://linkedin.com/in/orassayag
This application has an UNLICENSED license.