# Email Settings

Email settings are located under the "Tenant Settings" section in the **Admin Dashboard**. This section provides administrators with options to manage and configure various aspects related to email setup and notifications. The **Email Settings** page displays three tabs, enabling admins to adjust and personalize the email settings based on their preferences. These tabs facilitate access and control over notification settings, email servers, and email templates.

## Notification Settings Tab

The **Notification Settings** tab is used to manage when email notifications are sent to users. Notifications can be configured by the report, finding, substatus, or assignment by clicking the toggle bar on or off.

{% hint style="info" %}
When all email notifications are disabled, the system only sends emails regarding actions related to a user's profile (personal settings).
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FKGqyOszkM4w2fQkEvRa1%2Fimage.png?alt=media&#x26;token=c6fd8231-264f-40fe-8bd5-acc8648a41ab" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
The notification of report status changes for assigned users is permanently disabled.
{% endhint %}

## Server Settings Tab

The **Server Settings** tab manages the configuration of a custom email server. PlexTrac defaults to its email service but supports SMTP (Simple Mail Transfer Protocol) and OAuth (Open Authorization).

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FHBqlP5RDHeqzm3aKmFht%2Fimage.png?alt=media&#x26;token=90082c42-cf53-4679-8911-d806af1f8e42" alt=""><figcaption></figcaption></figure></div>

### Configuring Mail Server

<mark style="background-color:yellow;">Step 1:</mark> From the **Admin Dashboard**, click **Email Settings** under "Tenant Settings."

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F8IfeDZKe1e3q6mjGdnk3%2Fimage.png?alt=media&#x26;token=a4f017aa-bebb-473d-a1be-1995f41523d3" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2:</mark> Click **Configure Mail Server**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FIq9aw2phFh6VGSlKAieS%2Fimage.png?alt=media&#x26;token=79c9d638-7294-4155-84c6-41e1093132ca" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> A modal appears. Enter the appropriate information in the required fields.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FmtUdJDm4vJ2pCKBxcrcH%2Fimage.png?alt=media&#x26;token=e70e8ddb-8f74-41b0-976b-484195722aa7" alt="" width="563"><figcaption></figcaption></figure></div>

* **Email Server URL**: Refers to the domain or hostname of the server that handles incoming and outgoing emails for the email account or domain. The specific email server name can vary depending on the email service provider or the organization's email infrastructure.&#x20;
* **Port**: PlexTrac supports standard SMTP (Simple Mail Transfer Protocol) ports, and those options are provided in the pulldown menu for this field:
  * SMTP with SSL/TLS encryption (SMTPS): `465 (secure)`
  * SMTP (unencrypted): `25 (not secure)`
  * SMTP with STARTTLS encryption: `587 (not secure)`<br>

    <div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FCo9dmoOg1fzP16vGTV3q%2Fimage.png?alt=media&#x26;token=7f965eb0-e01b-49cf-a0f6-7a14ecbe04c0" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4:</mark> Select the mail server authentication type if different than the default value of "None."

* **None:** No authentication is used, and the email server allows open relay without requiring credentials. It is not secure or recommended, but it is sometimes used for internal and testing purposes.
* **Basic:** A simple username and password combination is enabled. Credentials are sent in plain text or base64 encoded. This method is less secure than OAuth2, especially if it is not used with encryption (TLS/SSL).
* **OAuth2:** This provides a more secure and flexible authentication method, as it does not require sending the actual username and password with each request. It supports short-lived access tokens and long-lived refresh tokens. It is more complex to set up but offers enhanced security.
  * In your Server Settings configuration, be sure that the email address used is associated with the Client ID.
  * Please note that PlexTrac supports Microsoft Graph API and Google Workspace, only. If you are having trouble using Google Workspace with your existing use case, please contact support.&#x20;

<mark style="background-color:yellow;">Step 5:</mark> Click **Save**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FgDjiZEC5mtE9XDdJnEqf%2Fimage.png?alt=media&#x26;token=aad11140-487b-4778-baad-a142ca7454b0" alt="" width="563"><figcaption></figcaption></figure></div>

If the connection is unsuccessful, a message will be displayed at the top of the page.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FlM4S8IkKqfEhthpmFjh6%2Fimage.png?alt=media&#x26;token=e19d3dc4-5083-4362-a96c-0e1392e60dc7" alt="" width="563"><figcaption></figcaption></figure></div>

Validate the data entered, make necessary changes, and click **Save** again.

## Removing Existing Configuration

Click **Remove Mail Configuration** to remove and change the current email server configuration to the default PlexTrac email service.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FQDL9mE7ErLeXEQz6Nop5%2Fimage.png?alt=media&#x26;token=d9f02274-b7f7-480b-88b8-a4967bfbeaf4" alt="" width="563"><figcaption></figcaption></figure></div>

## E-mail Templates Manager Tab

The **E-mail Templates Manager** tab manages the format, information, and structure of emails sent to users within a tenancy and allows for the configuration of email white labeling.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FjyIcmBQYLpPcztnNjCvF%2Fimage.png?alt=media&#x26;token=f369e7f7-230f-4733-bd3e-d6031ce19c0c" alt=""><figcaption></figcaption></figure></div>

### Email White Labeling

The application defaults to PlexTrac values for the "From Name" and "From Address." To change the name and email address, edit the fields under "EMAIL WHITE LABELING" and click **Submit**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FyBs4PTy3joqVoTh3KCbn%2Fimage.png?alt=media&#x26;token=c26a8ccc-2080-4cbd-91a9-794dc2a24e4a" alt=""><figcaption></figcaption></figure></div>

### Email Templates

PlexTrac offers a collection of email templates that are automatically dispatched to users upon completing specific actions or tasks. These templates serve as predefined messages but can be modified and tailored to individual requirements.&#x20;

Admins can customize the templates as needed by incorporating their company logo, removing short codes, enhancing the HTML, or including specific messaging to align with their branding and communication style. This feature enables admins to create email communications matching their style and messaging preferences.

To edit an email template, click the green icon under the "Actions" column next to the email.&#x20;

<div align="left"><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fnbnz13RRXZwFCjmuTFrl%2Fimage.png?alt=media&#x26;token=dbe4e108-e53c-4304-9026-09574d181566" alt=""></div>

Short codes can be used in emails as wildcards to replace text. Available codes are listed at the bottom of the email template.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F7TxlviAdhmXBCzQGwHyS%2Fimage.png?alt=media&#x26;token=d692dfec-d933-4417-9b5c-498d10a899b8" alt=""><figcaption></figcaption></figure></div>
