> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/t/trend-micro-email-security.md).

# Trend Micro Email Security

Trend Micro Email Security is a cloud email gateway. OctoXLabs reads the domain list and the directory users of each domain and adds the users to the user inventory. Directory users are the valid recipients of each domain.

## Use cases

* **Find email recipients with no directory account.** How accounts are matched depends on your user merge settings.

```
Adapters = trend-micro-email-security AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                                    | Port         | Protocol |
| ------------------- | -------------------------------------------------------------- | ------------ | -------- |
| OctoXLabs connector | api.tmes.trendmicro.com (Domain parameter, differs per region) | Not verified | HTTPS    |

Use the host of the location your account is hosted in:

| Location             | Host                        |
| -------------------- | --------------------------- |
| United States        | api.tmes.trendmicro.com     |
| Germany              | api.tmes.trendmicro.eu      |
| Australia            | api.tmes-anz.trendmicro.com |
| Japan                | api.tmems-jp.trendmicro.com |
| Singapore            | api.tmes-sg.trendmicro.com  |
| India                | api.tmes-in.trendmicro.com  |
| United Arab Emirates | api.tmes-uae.trendmicro.com |
| United Kingdom       | api.tmes-uk.trendmicro.com  |
| Canada               | api.tmes-ca.trendmicro.com  |

### Required permissions

| Scope or role                                  | Permission                           | Needed for |
| ---------------------------------------------- | ------------------------------------ | ---------- |
| Administrator account that created the API key | Read domain list and directory users | Users      |

The API key only works together with the account that created it. The integration only reads the domain list and the directory users of each domain.

## Create credentials in Trend Micro Email Security

{% stepper %}
{% step %}

### Sign in

Log on to the Trend Micro Email Security administrator console.
{% endstep %}

{% step %}

### Open Service Integration

Go to **Administration > Service Integration**.
{% endstep %}

{% step %}

### Add an API key

On the **API Access** tab, click **Add** to generate a key. A new key is enabled by default.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
A maximum of two API keys are allowed at a time.
{% endhint %}

{% hint style="info" %}
The directory is filled by importing users, by the Directory Synchronization Tool or through the API. An account that does none of these returns no users.
{% endhint %}

## Connection parameters

| Parameter | Required     | Type    | Default                 | Description                                                 |
| --------- | ------------ | ------- | ----------------------- | ----------------------------------------------------------- |
| Domain    | Not verified | String  | api.tmes.trendmicro.com | Regional service host, without a scheme.                    |
| Username  | Not verified | String  | None                    | Name of the administrator account that created the API key. |
| Api Key   | Not verified | String  | None                    | API key from the administrator console.                     |
| Proxy     | No           | String  | None                    | Proxy address.                                              |
| Timeout   | No           | Integer | 30                      | Seconds to wait for an API response.                        |

## Troubleshooting

| Error message | Cause        | Fix          |
| ------------- | ------------ | ------------ |
| Not verified  | Not verified | Not verified |

## Change history

{% hint style="info" %}
Available starting from version 6.9.0.
{% endhint %}
