> For the complete documentation index, see [llms.txt](https://docs.ochats.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ochats.io/module-tutorial/connect-to-channels/email.md).

# Email

Connect to your existing email account via SMTP. Then, receive and reply email from oChats. Here is a simple guide on how to fill in the required field in the form

* **From Email**: Insert your email address
* **SMTP Settings**
  * **Email**: Insert your email address
  * **Password**: Insert your email password
  * **Server**: Insert your stmp server link. You can get this information from your **email provider**. Usually it comes in this format <*stmpserver.inbox.com*> or <*mail.companyname.com*>.
  * &#x20;**Port**: Insert port number. You can get this information from your email provider. The number is usually:
    * Port **465**
    * Port **993**
    * etc
  * **Username**: Insert your email address
  * **Secure connection (TLS/SSL)**: This server requires a secure connection (TLS/SSL): You can check this information with your email provider whether your email requires secure connection or not.&#x20;

{% hint style="info" %}
Enable **IMAP access** & use **2-step verification password** for IMAP. Check out this [guide](/module-tutorial/connect-to-channels/email/enable-imap-access.md) for more information.
{% endhint %}

* **IMAP Settings**
  * **Server**: Insert your stmp server link. You can get this information from your **email provider**. Usually it comes in this format <*stmpserver.inbox.com*> or <*mail.companyname.com*>.
  * &#x20;**Port**: Insert port number. You can get this information from your email provider. The number is usually:
    * Port **465**
    * Port **993**
    * etc
  * **Username**: Insert your email address
  * **Secure connection (TLS/SSL)**: This server requires a secure connection (TLS/SSL): You can check this information with your email provider whether your email requires secure connection or not.&#x20;


---

# 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:

```
GET https://docs.ochats.io/module-tutorial/connect-to-channels/email.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.
