Gravar-mail: An integrated system to support electricity tariff contract definition