When building an enclosure, most people seem to provide a port or duct to allow the electronics box to be ventilated outside. But this seems like it would bring a lot of outside air into the enclosure. Why not take the whole electronics box off and mount it on the outside of the enclosure?
If the enclosure were built right up against the left edge of the frame, this would probably only require a small amount of pulling of the cables to reach to the box (perhaps 1/2 to one inch). The cables themselves would have to go through the enclosure wall, but this could then be sealed up. Even if poorly sealed, this still exchanges a lot less air with the outside than a ventilation duct.
Is there some reason this wouldn’t work?