Gravar-mail: Towards an FPGA-based edge device for the internet of things