My take on a similar solution can be found here:
https://community.smartthings.com/t/interfacing-mailbox-alert-with-smartthings-via-wifi-using-esp8266-nodemcu-and-tasmota-edge/259452