Gravar-mail: Machinery retrofiting for industry 4.0