# 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FvYyoWupiT3IkjEExyHcN%2Fimage.png?alt=media&#x26;token=10d008e4-9863-4173-9bf3-a08dd9e8ab6f" 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FKyrFPX84UkgNMb3aG3zD%2Fimage.png?alt=media&#x26;token=1902a1c9-4beb-419e-a7c7-83972db37e84" 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FFYEZLrB0EQyAnvXhcFPo%2Fimage.png?alt=media&#x26;token=590372ec-5483-47cc-bc0a-89b41b92f27b" 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:\
![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FMtm58fdc03mq9aRVtxSH%2Fimage.png?alt=media\&token=af0711e3-5ee5-4b32-b2d9-fc6c87a78e7e)

{% 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FpWH0iMQ9PScGUWsU84gU%2FScreenshot%202023-10-20%20at%207.44.36%20PM.png?alt=media&#x26;token=0a596ea9-69eb-461c-85e9-e28fd8566324" 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;                                      ![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FXqowmYnQvAMtMBrOBXBv%2Fimage.png?alt=media\&token=05c6eb9d-1c6a-4105-8946-004807e4ba34)

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;                                     ![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FYAogp2P01ymSKdnRlwbS%2Fimage.png?alt=media\&token=65dae9d8-1d37-45ea-b425-db2ba25bdff3)

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;                                      ![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FhpvHGWa1ayjL3GY8a9JK%2Fimage.png?alt=media\&token=1bb28468-4363-450c-b10d-6184c2626ffa)
{% 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: \
![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FFHdvbFQgWareXHTpiYz8%2Fimage.png?alt=media\&token=a82a38c6-d8c8-4960-bb5f-3816abcda1d2)
{% 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FESmCtzQ0YNN6pdwcroMJ%2Fimage.png?alt=media&#x26;token=e203d174-a566-44c5-acb8-1383bcaca34b" 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FXolp6UCtTjuRlH6eieSS%2Fimage.png?alt=media&#x26;token=f7e6bd69-d037-49ff-a9b3-64d705897a16" 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[.](https://docs.myalice.ai/connect-social-channels/connect-your-email/broken-reference)

{% 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;                                      ![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FXqowmYnQvAMtMBrOBXBv%2Fimage.png?alt=media\&token=05c6eb9d-1c6a-4105-8946-004807e4ba34)

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;                                     ![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FYAogp2P01ymSKdnRlwbS%2Fimage.png?alt=media\&token=65dae9d8-1d37-45ea-b425-db2ba25bdff3)

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;                                      ![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FhpvHGWa1ayjL3GY8a9JK%2Fimage.png?alt=media\&token=1bb28468-4363-450c-b10d-6184c2626ffa)
{% 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FGXEC6vbIQOX0HJMng65S%2Fimage.png?alt=media&#x26;token=fe4226a7-e82e-42ac-8ac7-b5626edfb587" 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FszyPhBHQex91Sot5Bl3B%2Fimage.png?alt=media&#x26;token=89acfa0f-20d8-42a2-ade2-74efcc45a406" 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="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2Ffwn4PjD3k5exmSNlK9gh%2Fimage.png?alt=media&#x26;token=0486e680-a5f9-4182-8b95-ae4cbd71c069" alt=""><figcaption><p>Success Message</p></figcaption></figure>
