Gmail notify notifies you of new mail in Gmail.
- Notifies using Windows notifications.
- Stand-alone service. You don't need Chrome instance.
- Supported multi account.
- Prepare notify.exe, get-token.exe and config.json.
cd cmd/notify; go build -ldflags -H=windowsgui
cd cmd/get-token; go build
-
Download Google user's credentials.json from google ...by clicking [Enable the Gmail API] button. And save it in a sub directory of the directory that contains notify.exe. The name of the directory can be anything you want.
-
Create token.json.
get-token.exe ENTRY-DIRECTORY
Follow the displayed link, and type code to create token.json.
Repeat steps #2-#3 for all the accounts you need. Once executed, notify.exe creates working file named unread.json. Finally, directory structure looks this:
[gmail-notify]
config.json
get-token.exe
notify.exe
notify.log
[ENTRY DIRECTORY 1]
credentials.json
token.json
unread.json
[ENTRY DIRECTORY 2]
credentials.json
token.json
unread.json
:
[ENTRY DIRECTORY x]
credentials.json
token.json
unread.json
If it works, add an entry to the Windows task scheduler.
- Triggers :
At log on
- Actions :
Start a program
(notify.exe), Start insame directory
with notify.exe.