# MSG

{% hint style="info" %}
The following documentation is for **MSG v1.8.0**.
{% endhint %}

## Overview

Enables reading MSG files.

## Setup

The following integrations need to be connected to your Kognitos workspace:

* **MSG**

### Steps

Follow these steps to connect the integration in Kognitos:

{% stepper %}
{% step %}
**Navigate**

Using the left navigation menu, go to **Integrations** → **Explore Integrations**.
{% endstep %}

{% step %}
**Find**

Search for the integration and click on it.
{% endstep %}

{% step %}
**Connect**

Click on <kbd>**Connect**</kbd> to add a connection to the integration.
{% endstep %}

{% step %}
**Configure**

Add a name for the connection. You'll be prompted for [**authentication**](#authentication) details if needed. Then, click on <kbd>**Connect**</kbd>.
{% endstep %}
{% endstepper %}

## Actions

The following actions are available in the **MSG** integration:

### 1. Check msg has attachments

Check if a MSG file has attachments.

### 2. Check msg is forward

Check if a MSG file is a forwarded email.

### 3. Check msg is reply

Check if a MSG file is a reply to another email.

### 4. Convert msg to eml

Convert a MSG file to EML format.

### 5. Get msg attachments

Get the attachments from a MSG file as IO objects.

### 6. Get msg bcc recipients

Get the BCC recipients from a MSG file.

### 7. Get msg body

Get the body from a MSG file.

### 8. Get msg cc recipients

Get the CC recipients from a MSG file.

### 9. Get msg date

Get the date from a MSG file.

### 10. Get msg message identifier

Get the Message-ID from a MSG file.

### 11. Get msg parent message identifier

Get the In-Reply-To header from a MSG file.

### 12. Get msg reply address

Get the Reply-To address from a MSG file.

### 13. Get msg sender

Get the sender from a MSG file.

### 14. Get msg subject

Get the subject from a MSG file.

### 15. Get msg to recipients

Get the To recipients from a MSG file.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kognitos.com/guides/platform/integrations/msg.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
