-
-
Save atejada/55ad2a61c57545750acf864deb896917 to your computer and use it in GitHub Desktop.
Send Email using Node-Red and Nylas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"9a44d1a799013ad1","type":"inject","z":"296ddd4a04e1cfa0","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"subject\":\"Hello from Node-Red\",\"to\":[{\"email\":\"atejada@gmail.com\",\"name\":\"Blag\"}],\"body\":\"This email was sent using Node-Red and the Nylas APIs.\"}","payloadType":"json","x":110,"y":120,"wires":[["201c681e009dce95"]]},{"id":"201c681e009dce95","type":"http request","z":"296ddd4a04e1cfa0","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"https://api.nylas.com/send","tls":"","persist":false,"proxy":"","authType":"bearer","senderr":false,"headers":[{"keyType":"other","keyValue":"Accept","valueType":"other","valueValue":"application/json"},{"keyType":"other","keyValue":"Content-Type","valueType":"other","valueValue":"application/json"}],"x":310,"y":120,"wires":[["0d006ab4fb46de33"]]},{"id":"0d006ab4fb46de33","type":"sysmessage","z":"296ddd4a04e1cfa0","command":"osxalert","title":"Email was sent","subtitle":"","op1":"","op1type":"pay","receiver":"","name":"","x":560,"y":140,"wires":[[]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment