index was added for mailtemplate.name