--- title: Update the project insights header and footer of email description: Use the script include to modifying the email template for project summary. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-business-management/project-workspace/script-include-email-template.html release: australia product: Project Workspace classification: project-workspace topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Configure AI Admin features, Configure, Project Workspace, Project Portfolio Management, Strategic Portfolio Management] --- # Update the project insights header and footer of email Use the script include to modifying the email template for project summary. ## Before you begin Verify that ServiceNow Otto for SPM is installed and project insights generation skill is active. Role required: admin ## Procedure 1. Navigate to **All** > **System UI** > **Script Includes**. 2. Open the **ProjectInsightsEmailTemplateCustomConstants** script include and update the **ProjectInsightsEmailTemplateCustomConstants.EMAIL\_HEADER\_HTML** constant for email's header. This example demonstrates the script include for email's header as follows: ``` ProjectInsightsEmailTemplateCustomConstants.EMAIL_HEADER_HTML = `
`; ``` 3. Update the **ProjectInsightsEmailTemplateCustomConstants.EMAIL\_FOOTER\_HTML** constant for email's footer. This example demonstrates the script include for email's footer as follows: ``` ProjectInsightsEmailTemplateCustomConstants.EMAIL_FOOTER_HTML = ``; ``` On completion, the project summary email template is customized with the header and footer. **Parent Topic:**[Configure AI Admin Hub](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-business-management/project-workspace/configuring-na-spm.md)