Gravar-mail: Smart Legal Mechanisms for Sustainable Cities