How to generate a Word document with M-Files properties automatically?

When I make a new document based on a Word template with M-Files Property inside, the properties won't be replaced until someone manually open the document and save it. 

My issue is that for my use case the documents need to be created automatically and send via email with the M-Files properties filled. The only solution I found so far is to convert them into PDF but the document need to be editable so it's not good.

Is there any other way to "force" M-Files to write down the properties?