An open API service indexing awesome lists of open source software.

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

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
````