> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide-en/use-cases/marketing-hub/how-to-send-email-using-mailjet-in-cdp-365.md).

# How to send email using "Mailjet" in CDP 365?

## STEP 1 - Create "Mailjet" destination

### 1. Access the "MARKETING HUB" app and go to the "Destinations" menu

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FV5Nfh4oLOlF4yfvohTQs%2Fimage.png?alt=media&amp;token=e716e6cd-1f20-4d3d-aa42-b6e96f678d6e" alt=""><figcaption><p>CDP 365 menu</p></figcaption></figure>

### 2. Click ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2F0NlN4euxXQSBNzGgB2id%2Fimage.png?alt=media\&token=1b33cfc6-26e3-4eba-b7e6-5f5dc7fbdf9b) button and select "Email"

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FTIHSzFVZwMmvXxIzaX3a%2Fimage.png?alt=media&amp;token=e94db217-1815-4e77-96a9-a232bbe2b2b2" alt=""><figcaption><p>Destination list</p></figcaption></figure>

### 3. Fill in the necessary information for the destination

#### General Information

* Destination Name
* Description
* Destination Catalog: Choose *Mailjet Email*

*NOTE:* You can add another language if you want by clicking ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FOAUW9LwazZI35wdfvmV0%2Fimage.png?alt=media\&token=43484655-4583-4329-b641-a2209644ec31)

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FhP9gYhz4yN3CXnSnHo4F%2FMailjet.png?alt=media&amp;token=203e7d19-052b-4c77-b3a8-688f32200a4f" alt=""><figcaption><p>Destination Catalog</p></figcaption></figure>

#### Configure fields

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FaEoIRX0cQyQh6ggTS3MB%2FConfigure%20fields.png?alt=media&amp;token=9b60bd9d-83d1-472b-9b34-d0fb8dcbba9c" alt=""><figcaption><p>Configure fields</p></figcaption></figure>

<table><thead><tr><th width="140.33333333333331">Fields</th><th width="259">Description</th><th>NOTE</th></tr></thead><tbody><tr><td>API Key</td><td>The key provided by Mailjet for your Mailjet account. </td><td>To know your API Key, follow the instructions <a href="#how-to-know-your-api-key-and-secret-key">here</a>.</td></tr><tr><td>Secret Key</td><td>The key generated by Mailjet. </td><td>To know your Secret Key, follow the instructions <a href="#how-to-know-your-api-key-and-secret-key">here</a>.</td></tr><tr><td>From Email Name</td><td>Sender Name</td><td>Required field</td></tr><tr><td>From Email Address</td><td>A regional email address that you verified with Mailjet.</td><td>Required field</td></tr><tr><td>Email</td><td>Receiver's email</td><td><p>You can click <img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FkhgLhqcupP7v8TcrPbtQ%2Fimage.png?alt=media&amp;token=808aacab-c4b7-40a7-9f12-b5f76ce2a18c" alt=""> icon to add Personalization.</p><p></p><p><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FbtWRYPLpn5LSOsgILqsV%2Fimage.png?alt=media&amp;token=e9fa4e7a-aaf4-48dc-b182-330b7a8bf5f2" alt=""><br>It uses data available in CDP 365 to set the receivers configuration.</p><ul><li>Personalization type: Visitor/Customer Attribute</li><li>Personalization attribute: List of attributes in Visitor/customer that you selected before</li><li>Default value: The default email address that will be used if a customer does not have an email</li></ul><p>→ Example: Receiver email addresses are the email addresses in the BO Customer.<br><br><mark style="background-color:red;">NOTE: You should add personalization so your receiver's email could be dynamic in the journey. If not, the journey could only send email to the address you put in here.</mark><br>--> Example: <br>Destination --> Email: abc@gmail.com<br>Journey's audience: Customer segment<br>When the journey run, email will be sent to abc@gmail.com only </p></td></tr></tbody></table>

#### How to know your API Key and Secret Key?

1. In Mailjet, open Account Settings at: <https://app.mailjet.com/account>
2. Choose REST API section
3. Choose *Show icon* - ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FVWBTRTL0s3nqKWL1zNDy%2Fimage.png?alt=media\&token=78a1ebfb-4b07-4c4a-b6d4-f132d7248d21)to see the information.&#x20;
4. Copy the keys and paste to the fields in CDP 365

*NOTE*:

* Secret Key: If you have not had it yet, click *Generate* to create one. This key is only displayed once, so you should take it at that time. (If not, you must choose *Reset* to have another key)

#### General Setting

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FBImqyVbQnFNoxrZCAu9K%2Finfo.png?alt=media&amp;token=dfad8571-12a5-4d90-a86c-b85e6481f26a" alt=""><figcaption><p>General Setting</p></figcaption></figure>

*Frequency Capping*

Frequency Capping settings allows users to limit the times an audiences receiving an email

<table><thead><tr><th width="262">Option</th><th>Description</th></tr></thead><tbody><tr><td>Ignore duplicate messages for the scheduled journey</td><td>One audience just receive one email in an iteration of journey schedule </td></tr><tr><td>Limit frequency for the journey (3 months duration)</td><td><p>Limit allocation frequency to 1 audience in a journey for 3 months </p><p>(Ex: 2 times/person)</p></td></tr><tr><td>Limit frequency for destination</td><td><p>Limit allocation frequency to 1 audience per unit of time (hour, day, etc.) </p><p>(Ex: 3 times/month, 1 times/day)</p></td></tr></tbody></table>

*Delivered rate*

Delivered rate setting allows users to limit the number of email sent per second&#x20;

<table><thead><tr><th width="333">Option</th><th>Description</th></tr></thead><tbody><tr><td>As fast as possible</td><td>The maximum number of email sent per second will depend on the system possibility.</td></tr><tr><td>Limit send rate {x} time(s) per second</td><td><p>The number of email sent per second will be set by user. </p><p>(Ex: The value you set is 100. That means only 100 emails will be sent in 1 second)</p></td></tr></tbody></table>

### 4.  Click "Save"

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FWcGG26A3oxt9vfcBC5hW%2Fimage.png?alt=media&amp;token=29946a82-d385-477c-bcd0-e538dda30b8b" alt=""><figcaption></figcaption></figure>

## STEP 2 - Create a Customer Journey

### 1.  Access the "MARKETING HUB" app and go to the "Customer Journeys" menu

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Fd8K5b89vOhpMzgQibix5%2Fimage.png?alt=media&amp;token=801de925-8bd1-44b1-b574-04f086a3823f" alt=""><figcaption><p>CDP 365 menu</p></figcaption></figure>

### 2. Choose a Channel

We have 2 channels that supporting to send email:

* Email
* Journey Orchestration

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FgBBr9osoJ6Gwdd5RTCaI%2Fimage.png?alt=media&amp;token=577283f3-20d2-40ca-a8f9-bf288e11061e" alt=""><figcaption></figcaption></figure>

### 3. Click ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FeQWXjKJA6yVCbkWsw4F9%2Fimage.png?alt=media\&token=806b8270-cb0f-4ef9-822e-9813198d4e92) to create a Journey

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FnhWr0ZlORqNtrchEbEYs%2Fimage.png?alt=media&amp;token=048c7862-ccce-448e-a948-ec70c0b05f5f" alt=""><figcaption></figcaption></figure>

### 4. Add and configure *Destination* node&#x20;

* Click ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2F8hUqSFL9k9f7h7lakvDd%2Fimage.png?alt=media\&token=e6e93a6f-9fee-4396-b6a8-e96b76176d26) to add Destination node --> Choose Mailjet Email

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Ff947eoF8qC7YNBMo4OYp%2FDestination%20node.png?alt=media&amp;token=b64d6d20-0489-4b68-b924-99a20102dabd" alt=""><figcaption><p>Destination node</p></figcaption></figure>

* Choose the method to design the email

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Fl2t0w8uwzempZfiSCQi8%2FEmail%20Template.png?alt=media&amp;token=0c2531ca-86b9-4b3b-a90c-c31c180ff4e5" alt=""><figcaption></figcaption></figure>

* Select a "Mailjet" destination that you have created in [Step 1](#step-1-create-mailjet-destination)

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Fb9zJUXvb7YrL2XXIOxwR%2FDelivery%20destination.png?alt=media&amp;token=5e8cd3d7-47d7-48fd-880b-b37cea4287d9" alt=""><figcaption><p>Delivery Destination</p></figcaption></figure>

* Fill out necessary information

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FfxuNOVmVXKEa5DqdU97E%2Finfo.png?alt=media&amp;token=1ab57bfb-7e36-4629-b712-94548a3eba2b" alt=""><figcaption></figcaption></figure>

### 5. Save and activate the Journey

* Click "Save change" to save the Journey

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Ffb3QFwep1cMuPFs2x0AN%2Fimage.png?alt=media&amp;token=bcc66bca-11d2-42ff-8e15-83f3084d5552" alt=""><figcaption></figcaption></figure>

* Click "Activate" to start running the Journey and sending email to customers

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FHcu9HigyAYzmhdCrgHY8%2Fimage.png?alt=media&amp;token=ce8fcb3a-9e8d-453d-81c7-d8d546443e65" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.antsomi.com/cdp-365-user-guide-en/use-cases/marketing-hub/how-to-send-email-using-mailjet-in-cdp-365.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
