--- title: Update the project insights header and footer of your email using script include description: Use the script include to modifying the email template for project summary. locale: en-US canonical_url: https://www.servicenow.com/docs/r/it-business-management/project-workspace/script-include-email-template.html release: brazil product: Project Workspace classification: project-workspace topic_type: task last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Configure AI Admin features, Configuring Project Workspace, Project Workspace, Project Portfolio Management, Strategic Portfolio Management] --- # Update the project insights header and footer of your email using script include Use the script include to modifying the email template for project summary. ## Before you begin Install the ServiceNow Otto for SPM application and check if the 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/brazil/markdown/it-business-management/project-workspace/configuring-na-spm.md)