check the fuses at the rhs of the dash, the element is a flat plate behind the mirror glass, could be the wiring as it passes thru the door or a connector in the mirror, especially if your fav car wash slaps it into the park position like one I used to use....
I think the glass is held in by a plastic ball joint, you have to unscrew the bottom black cover off the mirror and pop the ball joint without breaking the glass to reveal the element.