Text this: Study of electron acceleration and X-ray radiation as a function of plasma density in capillary-guided laser wakefield accelerators