Step 1: Cayenne
Paste the Cayenne device token into the Arduino code.
Add your SSID and Password to the Arduino code as well.
Upload to the Node MCU ESP8266 .
Step 2: Power
Plug the Node MCU ESP8266 into your power bank.
Step 3: Physical Connect
Step 4: Virtual Connect
Add the digital motion sensor to Cayenne after the device connects. Make sure to select your "Arduino"-(Node MCU ESP8266), Virtual Pin, and Pin V1.
Step 5: Set Trigger
Click the top right drop down and add a trigger. Drag your ''Arduino"- (Node MCU ESP8266) to trigger and add your email to notify.
Step 6: Place in Your Mailbox for the Unsuspecting Mailman.
Those awesome people deliver your mail.