Electron phonon interaction in proximity of a Mott transition