Send an email when the website status code is 200.
Only filter those signals with msg.statusCode number 200.
Generate a message with following settings,
msg = {
payload: "Hello",
topic: "Need to fix."
};
return msg;
To: target email address
Server: smtp.gmail.com
Port: 465 with use secure connection.
Userid: your email address
Password: your email address password
TLS option: tick Check server certificate is valid
Set your app settings for gmail via activation. https://myaccount.google.com/u/1/lesssecureapps