Depending on your MySQL service setup, the variables may not get inserted into the templates properly. You can use the following variables in the email templates.
Type: {$type} Old Value: {$old} New Value: {$new} Domain: {$domain} Pin: {$pin}