GPS Event [8] – Email

Another notification service, the example actually uses Google’s Gmail. There is no need for an extra email account, because you can send email from “you” to “you” — as in the example. Similar to the previous post, we need three new modules:

and to select the service in the main gps_event.py module.

# select service: none, aws, rc, tweet, email, coral8
use_service = 'email'
 
# define sampling delay in seconds
sample_delay = 180

The sample delay is set to three minutes, not to overload  the inbox.



To be continued.