Semistructured data can be modelled by the graph-oriented data model OEM. Some applications require only tree-structured fragments and preservation of their other relationships.
We refine OEM and present it on the language MailQL.