Fixed bugs in project_mail_template.