Gravar-mail: Multilevel negotiation in smart grids for VPP management of distributed resources