When choosing an email template when editing an email message, I get an undefined error dialog box in 7.9.4.
Steps taken
Click on contact record, click on email address to load email message window, select email template, then error occurs
If you click OK, the template is applied and everything works as it should.