Being comfortable with the frame work/harmony of a scale, in this case the pentatonic scale (Em), is an excellent place to craft your riffs.