Razor exception compiling template-Collection of common programming errors

As you are using Postal in a non-web scenario, under the hood it is using our RazorEngine project. Currently, this means it is utilising the v2.1 release currently pushed on NuGet.

The @model syntax isn’t supported natively in v2.1, but the upcoming v3 release includes this support, as well as other nice things like layouts, thread-safety etc. (https://github.com/Antaris/RazorEngine)