Gravar-mail: Data modeling for the Internet of Things