Fix bulk email template bug

Template extension tags must go first