Edit an email notification for the search results
task brazil Updated Sep 10, 2026 1 min read t_ConfigureAnEmailNotification.md
Include search results in an email notification sent to users.
Before you begin
Role required: admin
Procedure
-
Navigate to All > System Notification > Email > Notifications.
-
Open the email template that you want to modify to include search results.
-
Select What it will contain.
-
In the Message HTML field, add the following script:
${mail_script:cxs_EmailSearchResults}[Omitted image "edit-email-notification.png"] Alt text: Notification form's What it will contain section with script added to Message HTML field.
-
Select and hold (or right-click) on the header form and click Save.
Parent Topic:Managing contextual search
42 lines · 1.5 KB
---
title: Edit an email notification for the search results
description: Include search results in an email notification sent to users.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-administration/contextual-search/t\_ConfigureAnEmailNotification.html
release: brazil
product: Contextual Search
classification: contextual-search
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Managing contextual search, Contextual search, Search administration, Configure core features, Administer the ServiceNow AI Platform]
---
# Edit an email notification for the search results
Include search results in an email notification sent to users.
## Before you begin
Role required: admin
## Procedure
1. Navigate to **All** > **System Notification** > **Email** > **Notifications**.
2. Open the email template that you want to modify to include search results.
3. Select **What it will contain**.
4. In the **Message HTML** field, add the following script:
`${mail_script:cxs_EmailSearchResults}`
\[Omitted image "edit-email-notification.png"\] Alt text: Notification form's What it will contain section with script added to Message HTML field.
5. Select and hold \(or right-click\) on the header form and click **Save**.
**Parent Topic:**[Managing contextual search](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-administration/contextual-search/working-with-contextual-search.md)
| title | Edit an email notification for the search results |
| description | Include search results in an email notification sent to users. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-administration/contextual-search/t\_ConfigureAnEmailNotification.html |
| release | brazil |
| product | Contextual Search |
| classification | contextual-search |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Managing contextual searchContextual searchSearch administrationConfigure core featuresAdminister the ServiceNow AI Platform |