Theoretically this is somewhat doable with the right hardware. Thankfully with the C-Max, all of that hardware is already communicating on one of the CAN buses. With the right know-how and barring how many of those functions are available while the car is off (rain sensor I am curious about. Window controls definitely should be given the global close option). In fact if you've ever checked out Amazon or Fleabay there are some 'Window closer' dongles for various vehicles. Really all they do is monitor the CAN bus for a signal saying that the keyfob lock command is being used and then turns around and sends a command to close all the windows.
Funny enough I've been running an idea through my brain recently of setting up a secondary blower to take hot air out of the car, specifically for the sake of battery temp while charging, and do so only when it is plugged in. I have one of those high CFM 12V marine blowers I purchased for another project that no longer needs it. Basic idea so far is to duct it out through the cabin exhaust (Usually a louvered vent behind the bumper on the driver side rear of the vehicle, used to equalize cabin air pressure to the outside). Then have an Arduino and CAN shield monitor for a) EVSE charging to go active and/or primary battery fan kicks on and b) The vehicle is stationary and ignition status is off. If those conditions are met, use a relay to turn on the secondary blower. At that time the 12V bat should be maintained so power drain is if no concern. Under all other conditions the whole setup should be in a low power sleep mode.
I wasn't originally going to post anything on it til I at least made some progress beyond the idea phase. The biggest hurdle is going to be tracking down all the necessary messages on the CAN bus which is going to be a very apt analogue to finding a needle in a haystack especially with our vehicles. That and there being multiple buses with different modules, knowing which one to tap into and hoping you don't have to do multiple is another thing.