https://github.com/signiant/gmail_poll_url
Polls gmail and calls a custom URL on a pattern match in the email subject
https://github.com/signiant/gmail_poll_url
Last synced: 6 months ago
JSON representation
Polls gmail and calls a custom URL on a pattern match in the email subject
- Host: GitHub
- URL: https://github.com/signiant/gmail_poll_url
- Owner: Signiant
- License: mit
- Created: 2015-05-29T14:50:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T14:14:00.000Z (over 10 years ago)
- Last Synced: 2025-01-16T02:23:49.618Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gmail_poll_url
Polls gmail and calls a custom URL on a pattern match
## Config file format
````
{
"username": "YOURUSER@gmail.com",
"password": "YOURPASSWORD",
"searchString": "MATCH STRING",
"url": "URL TO GET ON MATCH"
}
````
Sample docker run command showing how to mount the config file into the container using a data volume on the local docker host
:
````
docker run -d --privileged=true \
-v /my/local/folder/gmail_config.json:/usr/src/app/gmail_config.json \
--name gmail_poller \
signiant/gmail-poll-url
````