Gravar-mail: An electrostatics method for converting a time-series into a weighted complex network