> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/5.1.x/integration/channel-connector/email-inbox/create-new-rule.md).

# Create New Rule

This section describes how to be able to run the email inbox channel and how the email customer mail can be incoming as a ticket to the **Inbox** tab of Agent.&#x20;

After you make an email channel, make sure that you add the email channel to the rule. To create a new rule channel, go to the **Customer Service** menu and click the **Rule Management** menu, then you will see a rule management page, on the top right section click the **‘ + New Rule‘** button, as shown below.

![New Rule](/files/-MSlfRnEXjw0IJZS5COR)

You will see a pop up to add a new rule channel, select the e-mail channel by clicking the 'add channel' icon (![](/files/-MWc9Mqbfuv2ov6B7-Ga)), and then you will be asked to enter the rule name and max. assignment ticket on the channel.

![Add New Rule](/files/-MT08pDPXpAaECkFXjXc)

**Component Explanation:**

| Name            | Description                                          |
| --------------- | ---------------------------------------------------- |
| Rule Name       | The name of the channel rule to create.              |
| Max. Assignment | The amount tickets are assigned to the channel rule. |

The email rule was added successfully, and you will see the rule email in the list of rules management page, as shown in the image below.

![New Rule Created](/files/-MT0AC846MeXWIiUVluM)

After the rule channel is successfully created, to be able to receive an incoming chat from the telegram bot, add team members to the rule by clicking the 'add' icon (![](/files/-MWc9TBKqwpeUh1ihorG)).

![Add Team Member](/files/-MT0B4tsa4CNNf5SQbLN)

Team members successfully added and appearing on available teams, you can configure priority and max. assignment ticket that can be entered or handled by an agent.

![Team Member Added](/files/-MT0BPo937PZdO8jm76c)

**Component Explanation:**&#x20;

| **Name**        | Description                                               |
| --------------- | --------------------------------------------------------- |
| Priority        | To decide who will get chats first in a channel.          |
| Max. Assignment | The amount tickets are assigned or handling to the users. |


---

# 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.3dolphins.ai/5.1.x/integration/channel-connector/email-inbox/create-new-rule.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.
