Among many other applications, room-temperature ionic liquids (ILs) are used as electrolytes for storage and energy-conversion devices. In this work, we investigate, at the microscopic level, the structural and dynamical properties of 1-methyl-1-butyl-pyrrolidinium bis(trifluoromethanesulfonyl) imide [C PYR] [Tf N] IL-based electrolytes for metal-ion batteries. We carried out molecular dynamics simulations of electrolytes mainly composed of [C PYR] [Tf N] IL with the addition of M -[Tf N] metal salts (M=Li , Na , Ni , Zn , Co , Cd , and Al , n=1, 2, and 3) dissolved in the IL. The addition of low salt concentrations lowers the charge transport and conductivity of the electrolytes. This effect is due to the strong interaction of the metal cations with the [Tf N] anions, which allows for molecular aggregation between them. We analyze how the conformation of the [Tf N] anions surrounding the metal cations determine the charge-transport properties of the electrolyte. We found two main conformations based on the size and charge of the metal cation: monodentate and bidentate (number of oxygen atoms of the anion pointing to the metal atoms). The microscopic local structure of the M -[Tf N] aggregates influences the microscopic charge transport as well as the macroscopic conductivity of the total electrolyte.