Stability of the Bakry-Emery theorem on $\mathbb{R}^n$