@Lachlan6 has a nice 3D printed mechanism for holding the contact sensor unit so that garage door opening and closing notification is sent.
In my opinion, his design can be used on the outside surface of downward swinging mailbox doors. Mailboxes made of any material.
To look into this further checkout “Lachlan6 Wyze Contact Sensor Garage Door Placement?”.