Added support for creating configuration files for every template file, popup in mailing module works now (issue #197)