One particular way that emotions affect us is via our memory. We tend to attune to and thereby remember things that have emotional salience. Not that something need always be pleasant. Rather we attend to important and relevant things, and so practice remembering them. The more I practice remembering things I am emotionally drawn to, the more I become that which I remember.