# Connect Custom Email

{% hint style="info" %}
You need to —

* Be an Admin on MyAlice.
* Have email login credentials
* Enable IMAP, SMTP on your mail server.&#x20;
* Create an App password if your Two Factor Authentication is enabled.
  {% endhint %}

{% hint style="info" %}
Our system will fetch the last 3 days emails (Maximum 50 emails) and keep those mail in "All Closed" queue in our inbox.&#x20;
{% endhint %}

## Use Cases of MyAlice for Custom Email

Integrating your email with MyAlice will allow you to:

* Respond to emails from MyAlice inbox.
* Create orders based on emails(Launching soon)
* Connect Gmail, Outlook, Yahoo Mail, Zoho Mail, Icloud Mail and your custom mail server

## Connect Your Email

### Step 1: Link your Account

<figure><img src="/files/omYuDwBoxvUFpAzWbxCc" alt=""><figcaption><p>Available Integrations</p></figcaption></figure>

1. Go to **Integration** from the left navigation bar.
2. Under **Available Integrations**, select **Email**.&#x20;
3. A connection window will appear in the center.&#x20;

<figure><img src="/files/2YgzVIbebFNVZRnVQNFd" alt=""><figcaption><p>Email channel integration</p></figcaption></figure>

4. Click on **Set up a Custom Email**. Email Setup window will open. Here, give your IMAP details.&#x20;

<figure><img src="/files/Fv0JyoYifkXsUVOVinsI" alt=""><figcaption><p>IMAP Details Window</p></figcaption></figure>

5. Provide your email details shown as below. IMAP is to send emails. To know more about IMAP Host, Port and security details for popular mail servers check below:

{% tabs %}
{% tab title="Gmail" %}
IMAP Host : imap.gmail.com\
IMAP Port : 993\
IMAP Security: SSL\
IMAP Email: Email Address (Which you are trying to connect) \
IMAP Password: Password for provided email (You might need an [app password](https://support.google.com/mail/answer/185833?hl=en), if two factor authentication is enabled)

Enable IMAP from Gmail Settings:\
![](/files/ckt1NETOgYCaA5Rp0wpI)

{% endtab %}

{% tab title="Outlook" %}
IMAP Host : outlook.office365.com\
IMAP Port : 993\
IMAP Security: TLS\
IMAP Email: Email Address (Which you are trying to connect) \
IMAP Password: Password for provided email

\
For Outlook Mail, you need to  enable IMAP from mail settings shown as below:

<figure><img src="/files/kUKGoycpajXPidIHph00" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Yahoo Mail" %}
IMAP Host : imap.mail.yahoo.com\
IMAP Port : 993\
IMAP Security: SSL\
IMAP Email: Email Address (Which you are trying to connect) \
IMAP Password: Yahoo Mail app password for provided mail(it’s *not* the password you use to log in to Yahoo Mail). See below to Generate App Password.&#x20;

**How to Generate App Password:**&#x20;

To use the Yahoo Mail SMTP server, you first need to create a dedicated app password. Earlier, you could use your Yahoo Mail password, but Yahoo updated this requirement to improve security. Now, you need to generate a unique app password.

Thankfully, generating a Yahoo Mail app password is pretty straightforward. To get started, go to your account settings area and then click on the **Account Security** tab.

You can access your account settings area by clicking on your username/icon in the top-right corner. Or, you can [click this link to go straight to the account security area](https://login.yahoo.com/myaccount/security/) (as long as you’re logged in to Yahoo Mail already).

Then, click the **Generate app password** link under the **Other ways to sign in** section.

&#x20;                                      ![](/files/h6PsMOdfVZNVQ21jer0N)

You should now see a popup. Go ahead and click the blue **Get started** button in the popup to advance.

Enter your app name, which is just an internal name to help you remember it — for example, “WordPress” or “Thunderbird.” Label this correctly, as it’ll help you remember the service the password connects. Next, click the **Generate password** button.

&#x20;                                     ![](/files/ysSd0wEhz1N2CVwJ1lPq)

You should then see the app password — keep this handy because you’ll need it when you configure the Yahoo Mail SMTP settings in whatever app you’re using.

&#x20;                                      ![](/files/itfcFVWxONEA6no2KPcn)
{% endtab %}

{% tab title="Zoho Mail" %}
IMAP Host : imap.zoho.com\
IMAP Port : 993\
IMAP Security: SSL\
IMAP Email: Email Address (Which you are trying to connect) \
IMAP Password: Password for provided email (You might require an [Application-specific Password](https://www.zoho.com/mail/help/adminconsole/two-factor-authentication.html#alink5) if Two-factor Authentication is enabled).\
\
For Zoho Mail, you need to  enable IMAP from Zoho mail settings shown as below: \
![](/files/ig1m4VTvivQeAAnuGpLB)
{% endtab %}

{% tab title="iCloud Mail" %}
IMAP Host : imap.mail.me.com\
IMAP Port : 993\
IMAP Security: SSL (*If you see an error message when using SSL, try using TLS instead)*\
IIMAP Email: Email Address (Which you are trying to connect) \
IMAP Password: [Generate an app-specific password](https://support.apple.com/kb/HT204397) for provided email
{% endtab %}
{% endtabs %}

<figure><img src="/files/UTBpiGsPnDhhQqz0c1a0" alt=""><figcaption></figcaption></figure>

6. After providing the data, Press **Next.**
7. If your given data is correct you will be directed to the next window. Here, you will need to provide SMTP details.&#x20;

<figure><img src="/files/5Sk4TtgeKTACK9YwLc2J" alt=""><figcaption><p>SMTP Details Window</p></figcaption></figure>

8. Provide your SMTP information here. SMTP is to receive emails. To know more about SMTP Host, Port and security details for popular mail servers check below[.](broken://pages/6Sa6DXegiTQyXcCGifbN)

{% tabs %}
{% tab title="Gmail" %}
SMTP Host : smtp.gmail.com\
SMTP Port : 587\
SMTP Security: TLS\
SMTP Email: Email Address (Which you are trying to connect) \
SMTP Password: Password for provided email
{% endtab %}

{% tab title="Outlook" %}
SMTP Host : smtp-mail.outlook.com\
SMTP Port : 587\
SMTP Security: STARTTLS\
SMTP Email: Email Address (Which you are trying to connect) \
SMTP Password: Password for provided email
{% endtab %}

{% tab title="Yahoo Mail" %}
**For Yahoo Mail:**\
SMTP Host : smtp.mail.yahoo.com\
SMTP Port : 465\
SMTP Security: SSL\
SMTP Email: Email Address (Which you are trying to connect) \
SMTP Password: Yahoo Mail app password for provided email (it’s *not* the password you use to log in to Yahoo Mail). See below to Genarate App Password.

**How to Generate App Password:**&#x20;

To use the Yahoo Mail SMTP server, you first need to create a dedicated app password. Earlier, you could use your Yahoo Mail password, but Yahoo updated this requirement to improve security. Now, you need to generate a unique app password.

Thankfully, generating a Yahoo Mail app password is pretty straightforward. To get started, go to your account settings area and then click on the **Account Security** tab.

You can access your account settings area by clicking on your username/icon in the top-right corner. Or, you can [click this link to go straight to the account security area](https://login.yahoo.com/myaccount/security/) (as long as you’re logged in to Yahoo Mail already).

Then, click the **Generate app password** link under the **Other ways to sign in** section.

&#x20;                                      ![](/files/h6PsMOdfVZNVQ21jer0N)

You should now see a popup. Go ahead and click the blue **Get started** button in the popup to advance.

Enter your app name, which is just an internal name to help you remember it — for example, “WordPress” or “Thunderbird.” Label this correctly, as it’ll help you remember the service the password connects. Next, click the **Generate password** button.

&#x20;                                     ![](/files/ysSd0wEhz1N2CVwJ1lPq)

You should then see the app password — keep this handy because you’ll need it when you configure the Yahoo Mail SMTP settings in whatever app you’re using.

&#x20;                                      ![](/files/itfcFVWxONEA6no2KPcn)
{% endtab %}

{% tab title="Zoho Mail" %}
SMTP Host : **smtp.zoho.com**\
SMTP Port : 465\
SMTP Security: SSL\
SMTP Email: Email Address (Which you are trying to connect) \
SMTP Password: Password for provided email (You might require an [Application-specific Password](https://www.zoho.com/mail/help/adminconsole/two-factor-authentication.html#alink5) if Two-factor Authentication is enabled).
{% endtab %}

{% tab title="iCloud Mail" %}
SMTP Host : smtp.mail.me.com\
SMTP Port : 587\
SMTP Security: SSL (*If you see an error message when using SSL, try using TLS instead)*\
SMTP Email: Email Address (Which you are trying to connect) \
SMTP Password: [Generate an app-specific password](https://support.apple.com/kb/HT204397) for provided email
{% endtab %}
{% endtabs %}

<figure><img src="/files/mtmExvkaQXgxPw1oN6hX" alt=""><figcaption><p>Sample SMTP data </p></figcaption></figure>

9. Check "Same as IMAP" to use the data given for SMTP.&#x20;
10. After providing the data, Press **Next.**

<figure><img src="/files/9BvwCBgb5pStq0KB1qqB" alt=""><figcaption><p>Other Window</p></figcaption></figure>

11. Put your Display Name here.&#x20;
12. Give your Channel name for this email channel.&#x20;
13. Press **Verify.**&#x20;
14. You will receive a success message if your data is correct. Congrats! you have setup an email channel.&#x20;

    <figure><img src="/files/wPCOL8fZCi6wgBo9xMCt" alt=""><figcaption><p>Success Message</p></figcaption></figure>


---

# Agent Instructions: 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.myalice.ai/myalice-guide-arabic/myalice-channels/connect-your-email/connect-custom-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.
