Implement email preview in back office

This PR is an answer to #901 . This allows you to preview your mail templates directly from the back office, without having to send it.