Heavy-quarks in the QGP: study of medium effects through euclidean propagators and spectral functions