Smart mailbox using rpi gpio of motioneye

I have currently a raspberry pi zero 2W integrated in our mailbox. It runs motioneye providing video stream of the front door, I would like to integrate two sensors to detect when there is something in the box and when the door is opened to clear it.
I found different approaches, but they are several years old, I was wondering which way to go. One is a custom python script, next is remotly contact the gpio signals by rest api and last one the remote_rpi_gpio.
What is state of the art, ideally not programming myself, but using something that only needs to be configured.

Alternatively, I thought about adding an esp8266 running esphome, this would be clear and independed of the pi, but additional hardware which might be saved

Two door/window contact sensors.

One on the mail slot to detect mail. One in the door to detect it being cleared.

I’ve used both zigbee and ESPHome. Both work well.

I tried with window and vibration ZigBee sensors, but it is not reliable, the battery drains very fast. I assume the metal mailbox blocks most of the signal. That is why I wanted to use reed contacts and the raspberry which is already there

You put the contact sensors in a plastic waterproof box outside the mailbox and wire them to magnetic reed switches inside.

Has anybody used remote_rpi_gpio to set up something comparable?