發送短信: Rare earths as a probe of environment and electron-phonon interaction in optical materials