Gravar-mail: Combining Fog Computing with Sensor Mote Machine Learning for Industrial IoT