Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
/ gmail-check Public archive

A small python script to check and open new mail in gmail from RSS

License

Notifications You must be signed in to change notification settings

raingart/gmail-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmail-check

Python script to check for new unread GMAIL mail. And the subsequent opening of it in the browser

Opportunities and script logic:

  • Checking for new email/s
  • (Optional) The conclusion of the system message
  • And the opening new mail/s in a browser

Requirements (for run gmail.py)

  • python => 3.0

Installation for Windows

  1. open https://myaccount.google.com/lesssecureapps and set Allow less secure apps: ON
  2. Copy file gmail.exe and gmail.cfg
  3. Change in gmail.cfg you login and pass from gmail account
  4. Run gmail.exe
  5. (Optional) Run add task.bat as Administrator option.

(Optional) Compile for Windows:

  1. Install Python => 3.6 and python-pip
  2. Copy repo $ git clone https://github.com/Artlant/gmail-check.git or "Download zip"
  3. Run $ pip install -r requirements.txt in gmail-check folder
  4. Install Auto PY to EXE
  5. Convert gmail.py in "Auto PY to EXE and Convert"

Installation for Linux

  1. Copy repo $ git clone https://github.com/Artlant/gmail-check.git or "Download zip"
  2. Run $ sudo pip install -r requirements.txt in gmail-check folder
  3. open https://myaccount.google.com/lesssecureapps and set Allow less secure apps: ON
  4. Make sure the script is executable by running chmod +x ./gmail.py
  5. Change in gmail.cfg you login and pass from gmail account
  6. Run $ ./gmail.py

//period call script should be implemented you. For example in linux:

watch -n 300./gmail.py

where -n sec - every sec-seconds

Start arguments

./gmail.py -h
usage: gmail.py [-h] [-l] [-c CONFIG]

optional arguments:
  -h, --help              show this help message and exit
  -l, --log               show log info
  -c file, --config file  patch to a config file

License

MIT License

About

A small python script to check and open new mail in gmail from RSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published