It is well known that a gauge dependent two-point correlation function can be made gauge invariant by introducing a gauge link connecting the fields. This stringy ansatz is widely used to build gauge invariant observables in DIS, as for instance, parton distribution functions (PDFs) and transverse-momentum-dependent functions (TMDs). In this talk, I will discuss recent results connecting the gauge invariant quark propagator to hadronization dynamics using the spectral representation of the (gauge dependent) quark propagator.