> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailjet

> Découvrez comment configurer vos actions de flux Mailjet pour envoyer des courriels.

## Configurer la connexion à votre coffre-fort

Pour configurer une connexion au coffre-fort pour vos actions Mailjet, vous aurez besoin d’une **clé API** et d’une **clé secrète** :

<Frame>
  <img src="https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=ccaf7a5224eb2e67f75faec51be31464" alt="Dashboard > Actions > Forms > Flows > actions > MailJet" data-og-width="1404" width="1404" data-og-height="697" height="697" data-path="docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=280&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=2129eff6b7aedb1caf7e9f1ad4db5b48 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=560&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=e05751be6575b0b35a4ec47b2ea23331 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=840&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=65cea0c66152deb44369eddef900a3dc 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=1100&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=2ff7170d0bd65e546de3fa1caf0a795d 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=1650&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=18c0843e7b4b097461e1b4f671edbc60 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=2500&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=bd3ae745f58b8dc3d064ce96ad169326 2500w" />
</Frame>

Celles-ci peuvent être trouvées sur la page Account (Compte) du [tableau de bord Mailjet](https://app.mailjet.com/account/api_keys) sous les clés API.

## Send email (Envoyer un courriel)

Envoyer un courriel en utilisant Mailjet comme fournisseur de messagerie.

<Frame>
  <img src="https://mintcdn.com/docs-staging-docs-event-stream-action-templates/04h_qD2AP3sMABfF/docs/images/fr-ca/cdy7uua7fh8z/5z1CqSZTrLs1oMdHKvHOiM/7e1fa3b5d7ea5a5b2ec51dd58fa1d2ed/mailjet.png?fit=max&auto=format&n=04h_qD2AP3sMABfF&q=85&s=7bdb8a1bccd1dc6435d7c0548bb5d2dc" alt="" width="832" height="705" data-path="docs/images/fr-ca/cdy7uua7fh8z/5z1CqSZTrLs1oMdHKvHOiM/7e1fa3b5d7ea5a5b2ec51dd58fa1d2ed/mailjet.png" />
</Frame>

### Paramètres de saisie

| Paramètre                              | Description                                                                                                            |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Nom de l’expéditeur                    | Le nom de l’expéditeur                                                                                                 |
| Courriel de l’expéditeur (obligatoire) | L’adresse courriel de l’expéditeur                                                                                     |
| Nom du destinataire                    | Le nom du destinataire                                                                                                 |
| Courriel du destinataire (obligatoire) | L’adresse courriel du destinataire                                                                                     |
| Nom en CC                              | Le nom du contact en copie conforme                                                                                    |
| Courriel en CC                         | L’adresse courriel en copie conforme                                                                                   |
| Objet                                  | L’objet du courriel                                                                                                    |
| Type de courriel                       | Envoyer un courriel avec contenu HTML ou un modèle enregistré (optionnel)                                              |
| Message (obligatoire)                  | Message en format HTML ou un modèle (optionnel).                                                                       |
| ID du modèle (facultatif)              | Si vous utilisez un modèle, son ID se trouve dans le [ tableau de bord de Mailjet ](https://app.mailjet.com/template). |
| Variables personnalisées (facultatif)  | Ajoutez des variables personnalisées à insérer dans votre modèle.                                                      |
| Suivre l’activité des courriels        | Cocher la case pour suivre l’activité des courriels.                                                                   |

### Paramètres de sortie

Vous trouverez les codes de réponse et d’état attendus dans la [documentation Mailjet](https://dev.mailjet.com/email/reference/send-emails/).
