> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/fonctionnelle/crm/messagerie.md).

# Messagerie

## Contexte :

Le superviseur reçoit un email sollicitant une mise à jour d'un document devenu obsolète. Après avoir pris connaissance de la demande, il se rend compte qu'il n'a pas d'idée précise sur la réponse à apporter, mais il utilise une proposition de réponse pour répondre rapidement et efficacement.

Peu après, il reçoit un nouvel email d'un expéditeur dont les coordonnées ne figurent pas encore dans sa base de données de contacts. Pour optimiser son organisation et faciliter les futures communications, il décide de créer ce contact directement à partir du mail reçu, ce qui lui permet d'enregistrer rapidement les informations nécessaires tout en assurant un suivi efficace des échanges.

## Implémentation dans SIMAX

Le superviseur reçoit le mail :

![](https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FVkHmCzRaNTnMn6DiFOxe%2F0.png?alt=media)

Pour avoir la proposition de réponse pour le mail reçu, cliquez sur **\[\[Action]],** et choisissez **Proposition de réponse**.

![](https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2Fqh3pdrZEqivgsv4NRVEn%2F1.png?alt=media)

![](https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FmsQuU0ADGFfPhA5mDC7F%2F2.png?alt=media)

Grâce à **OpenAI**, et à **la clé API** renseigné dans **Paramétrages > Choix des modules et des options > \[Installation],** SIMAX propose une réponse.

Vous pouvez vous renseigner sur le site suivant :

<https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key>

Avec **Open AI**, on peut aussi créer des contacts (Client professionnel, client particulier ou fournisseur) à partir d’un e-mail.

![](https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FkLnBVuF9RTYeKKAyFArO%2F3.png?alt=media)

Cliquez sur le bouton « **Action** », et choisissez.

![](https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2Fbid45tA01yfj9SdA0Hu8%2F4.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.simax.fr/fonctionnelle/crm/messagerie.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
