Hi, I guess it is highly unlikely you will be buying new, but I suggest looking on the 'bay' for folding mirror for XC90 of similar year. I have my03 and got my nearside wing mirror with powerfold and puddle light as well as adjustable heated mirror. I just searched on that l. The nearside one also has temperature sensor. And the following is a current example.
https://www.ebay.co.uk/itm/264512045814If for nearside (UK,).
Hope this helps