Skip to main content
McAfee MVISION Cloud

Create a Custom Email Template

You can create a Custom Email Template and associate it with one or more DLP Policies. Images can be added to the body of an email, and you can choose to customize several fields.

To create a custom Email Template:

  1. Go to Policy > Policy Settings > Email Template
  2. Click Create Email Template
  3. Enter the following information for your new template:
    1. Name. Enter a name for your template. This name must be unique for your tenant. This is displayed in the Template Name column on the Email Template page. 
    2. Description. Enter a description for your template. This is displayed in the Description column on the Email Template page. 
    3. Category. Data Loss Prevention is the default setting. 
    4. Type. Custom is pre-selected by default. 
    5. To. Click Add Additional Recipient to select from a list of Custom Attributes. Then click Save

      email_template_add_recipient_4.3.1.png
    6. Email Subject. Enter the text you want to appear in the subject line of your email notification. 
    7. Email Body. Enter the text of the body of the email notification, and use the formatting tools to style the text as required. You can also add links and images (.jpg, .jpeg, or .png) to your email body. Image file size is limited to 2 MB.
    8. Variables. To add variables to the email body or email subject, select available items from the Insert Variable list. Separate variables with a line break, space, or by punctuation, such as a comma. (Not all variables are available for all policy templates.) Available variables include:

IMPORTANT: Use only the available variables shown here. Do not copy and paste other variables from another template. 

  • Date Time. If a value for Date Time is not available, the string "N/A" is displayed. 
  • Email Recipients. The list of recipients displayed in the email. If a value for Email Recipient is not determined, the string "N/A" is displayed. 
  • Email Subject. The list of email subject displayed in the email. If a value for Email Recipient is not determined, the string "N/A" is displayed.
  • File Name. If a value for File Name is not available, the string "N/A" is displayed. 
  • File Path. If a value for File Path is not available, the string "N/A" is displayed. 
  • First Name. If a value for First Name is not available, the string "user" is displayed. 
  • Incident ID. Includes the ID of the incident in the email.
  • Instance Name. The name of the instance of your Service. 
  • Match Count. The number of matches identified. 
  • Policy Name. If a value for Policy Name is not available, the string "N/A" is displayed. 
  • Service Name. If a value for Service Name is not available, the string "N/A" is displayed. 
  • User Action.  The user action performed in the Data Loss Prevention event. For example, Item Upload / Edit etc.
  • User Email. If a value for User Email is not available, the string "N/A" is displayed. 
  • User IP. If a value for User IP is not available, the string "N/A" is displayed. 
  1. Custom Attributes. To add Custom Attributes to the email body or email subject, select available items from the Custom Attributes list.
  2. Click Save

email_template_create_4.3.1.png

Once your Custom Email Template is created, you can link it to a DLP Policy

Images in Custom Email Templates

Note the following if you add an image to a custom email template:

  • The content type must be set to image.
  • Images that contain URLs from specific domains configured at tenant level using your organization's internal domains are supported.
  • The image cannot be larger than 2 MB.

Delete a Custom Template

When you have created a Custom Template, you can also delete that template. 

IMPORTANT: If a Custom Email Template is linked to a DLP Policy, it cannot be deleted. You must unlink it first. 

  1. Go to Policy > Policy Settings > Email Templates
  2. In the Name column, click the name of the template you want to delete. 
  3. The Edit Email Templates screen opens. Click Delete Template
  4. In the Delete Template confirmation dialog, click Delete
  • Was this article helpful?