Coder Social home page Coder Social logo

m0rningdawning / email-checker-pc Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.58 MB

This is a small application written in JS with Imap and mailparser modules that reads and saves raw e-mail data to txt files.

License: MIT License

VBScript 1.50% JavaScript 98.50%
imap javascript mail mailparser node node-js script

email-checker-pc's Introduction

email-checker

This is a small application written in JS with Imap and mailparser modules that reads and saves raw e-mail data to txt files. The app utilizes the node-notifier module to handle notifications.

GitHub language count GitHub top language GitHub last commit License: MIT

Compilation

Before the compilation run npm install to install all dependencies.

  • Windows:
npx [email protected] -t node14-win-x64 -o reader-windows.exe -d reader.js
  • Linux:
npx [email protected] -t node14-linux-x64 -o reader-linux -d reader.js
  • MacOS:
npx [email protected] -t node14-macos-x64 -o reader-macos -d reader.js

Alternatively, you can run the application using Node without the need to compile it. Just run: node reader.js.

How to use

  1. Open "config.json" file and modify the info to access your mailbox.

Config code with explanations:

{
  "username": "1234",         // Input the name of your email-box
  "password": "1234",         // Input the password
  "host": "imap.gmail.com",   // E.G. poczta.student.tu.kielce.pl or imap.gmail.com. "https://" must be excluded!. Be sure to check if your mailbox has imap protocol turned on!
  "tls": true,                // Leave "true" if you don't know what it is ;)
  "date": "May 1, 2023",      // Search starting point. Format: "Mmm DD, YYYY" E.g "May 30, 2023"
  "mode": "UNSEEN"            // Put "UNSEEN" *All caps* to fetch unread messages. Alternatively, put "SEEN" *All caps* to fetch read messages.
}
  1. Choose your executable and start an app.
  • On windows you can run the .vbs file to open the app with no console.

  • Fetched emails will be saved in the "mail" directory. The parsed version of fetched emails will be stored in the "regular" subdirectory, while the raw data will be stored in the "raw" subdirectory.

  1. Enjoy!

Credits

Inspired by:

email-checker-pc's People

Contributors

m0rningdawning avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.