Bought this from Amazon for $15 and it works perfect on my M56.
I have automatic folding side mirrors now. Every time I close the doors the mirrors close automatically and vice versa.
Here is the link to the product:
https://www.amazon.com/gp/product/B077G ... UTF8&psc=1
The only thing is, you will need a good electric specialist to deal with the wiring.