Gravar-mail: Modeling the Energy Performance of LoRaWAN