You can try to use my module https://processwire.com/modules/page-mjml-to-html/
It allows you to write your newsletter’s template using the MJML syntax and get it converted into proper HTML when viewing a page (and also when sending via ProMailer). Please have a look and if you happen to have an issue, don’t hesitate to share it here