Skip to content

Email Authorization

Before you connect a customer service mailbox in Niceggie, you need to complete authorization on the mail provider's side — either an OAuth sign-in or an authorization code. This page walks through the 10 supported mail providers below; use the table to jump straight to the section you need.

Overview

🔐 = OAuth authorization (sign in to your Microsoft/Google account when prompted — no code to generate in advance) 🔑 = Authorization code / App Password (generate this on the provider's side first, then paste it into Niceggie's Connect Your Email page)

Provider Authorization method Jump to
Outlook 🔐 OAuth View guide
Hotmail 🔐 OAuth View guide
Gmail / Google Workspace 🔑 App Password View guide
QQ Mail 🔑 Authorization Code View guide
126 / 163 Mail (incl. NetEase Enterprise Mail) 🔑 Authorization Code View guide
Tencent Enterprise Mail 🔑 Authorization Code View guide
Aliyun Mail (Personal / Enterprise) 🔑 Authorization Code View guide
Feishu Mail 🔑 Authorization Code View guide
Zoho Mail 🔑 App Password View guide
263 Enterprise Mail 🔑 Authorization Code View guide

Outlook

Authorization method: 🔐 OAuth. No code needed in advance — on Niceggie's Connect Your Email page, choose Outlook and follow the on-screen prompts to sign in to your Microsoft account.

  1. Contact your IT administrator to confirm IMAP & SMTP access is enabled for this mailbox.
  2. On Niceggie's Connect Your Email page, choose Outlook, enter your email account, and click Authorize.
  3. You'll be redirected to the Microsoft sign-in page. Enter your email account and password to log in.
  4. Microsoft will show a consent prompt asking whether to allow Niceggie to access your mailbox. Click Accept.
  5. Back on Niceggie's Connect Your Email page, choose the folders you want to authorize, finish the setup, and save.
  1. Sign in to the web version of your Outlook account (if you use the Outlook desktop client, the path to enable IMAP may differ from the steps below).
  2. Click the Settings button (gear icon) in the top-right corner, then select Mail.
  3. On the settings page, find Forwarding and IMAP.
  4. Complete identity verification as prompted, then find POP and IMAP and turn on Allow devices and apps to use POP and IMAP.
  5. On Niceggie's Connect Your Email page, choose Outlook, enter your email account, and click Authorize.
  6. You'll be redirected to the Microsoft sign-in page. After logging in, Microsoft will show a consent prompt — click Accept.
  7. Back on Niceggie's Connect Your Email page, choose the folders you want to authorize, finish the setup, and save.

Microsoft OAuth consent prompt asking you to click Accept to let Niceggie access your mailbox

Consent window not showing up?

Check whether your browser blocked the pop-up, or sign out of your mailbox and back in once before trying to authorize again.

Protocol Host Port Encryption
IMAP outlook.office365.com 993 SSL
SMTP smtp.office365.com 587 TLS

Server details are for reference only

OAuth authorization negotiates the connection automatically — you generally don't need to enter the server addresses manually.

Hotmail

Authorization method: 🔐 OAuth. No code needed in advance — the process is identical to Outlook.

Hotmail is now Outlook

Hotmail has been fully rebranded as Outlook. Your email address (e.g., xxx@hotmail.com) still works, and all mail, contacts, and other data have already been migrated to the Outlook service.

  1. Contact your IT administrator to confirm IMAP & SMTP access is enabled for this mailbox.
  2. On Niceggie's Connect Your Email page, choose Hotmail, enter your email account, and click Authorize.
  3. You'll be redirected to the Microsoft sign-in page. Enter your email account and password to log in.
  4. Microsoft will show a consent prompt — click Accept to allow Niceggie to access your mailbox.
  5. Back on Niceggie's Connect Your Email page, choose the folders you want to authorize, finish the setup, and save.
  1. Sign in to the web version of your Hotmail account.
  2. Click the Settings button (gear icon) in the top-right corner, then select Mail.
  3. On the settings page, find Forwarding and IMAP.
  4. Complete identity verification as prompted, then find POP and IMAP and turn on Allow devices and apps to use POP and IMAP.
  5. On Niceggie's Connect Your Email page, choose Hotmail, enter your email account, and click Authorize.
  6. You'll be redirected to the Microsoft sign-in page. After logging in, Microsoft will show a consent prompt — click Accept.
  7. Back on Niceggie's Connect Your Email page, choose the folders you want to authorize, finish the setup, and save.
Protocol Host Port Encryption
IMAP outlook.office365.com 993 SSL
SMTP smtp.office365.com 587 TLS

Server details are for reference only

OAuth authorization negotiates the connection automatically — you generally don't need to enter the server addresses manually.

Gmail / Google Workspace

Authorization method: 🔑 App Password. You need to turn on 2-Step Verification and generate an App Password first, then paste it into Niceggie's Connect Your Email page.

  1. Sign in to your Gmail account.
  2. Click Settings (gear icon) in the top-right corner, then See all settings.
  3. On the Forwarding and POP/IMAP tab, set IMAP access to Enable IMAP and save changes (this step doesn't generate an authorization code).
  4. Click your account avatar in the top-right corner and select Manage your Google Account.
  5. In the left menu, select Security2-Step Verification. If it isn't enabled yet, follow the prompts to turn it on (you may need to verify your identity).
  6. Once 2-Step Verification is on, scroll to the bottom of the Security page to find App Passwords, or go directly to myaccount.google.com/apppasswords.
  7. On the page that opens, type a name of your choice (e.g., Niceggie) in the App name field and click Create. Google will generate a 16-character App Password.
  8. Copy the full password (including the spaces) and paste it into the authorization code field on Niceggie's Connect Your Email page, then save.

Gmail App Password flow: enable IMAP → turn on 2-Step Verification → open App Passwords and enter a custom app name

2-Step Verification is required first

Your Google account must have 2-Step Verification turned on before the App Passwords option appears; it stays hidden otherwise.

Google Workspace works the same way

Google Workspace (business) mailboxes follow the same authorization steps as personal Gmail. If your account is centrally managed and 2-Step Verification or App Passwords aren't available, ask your administrator to enable them first.

Protocol Host Port Encryption
IMAP imap.gmail.com 993 SSL
SMTP smtp.gmail.com 465 SSL

QQ Mail

Authorization method: 🔑 Authorization Code. Generate the code in QQ Mail first, then paste it into Niceggie's Connect Your Email page.

  1. Sign in to your QQ Mail account.
  2. Click Account and Security in the top-right corner.
  3. In the left navigation, find Security Settings.
  4. Enable the POP3/IMAP/SMTP/Exchange/CardDAV service.
  5. Click Generate Authorization Code (the first time you do this, you may need to verify your identity, e.g., via SMS).
  6. Copy the generated code and paste it into the authorization code field on Niceggie's Connect Your Email page, then save.

Demo of enabling IMAP/SMTP and generating an authorization code in QQ Mail

The code is only shown once

Copy and save it immediately after generating it. If you lose it, you can generate a new one to replace it at any time.

Protocol Host Port Encryption
IMAP imap.qq.com 993 SSL
SMTP smtp.qq.com 465 SSL

126 / 163 Mail (incl. NetEase Enterprise Mail)

Authorization method: 🔑 Authorization Code. Enable IMAP/SMTP and generate the code on the provider's side first. Personal mailboxes and NetEase Enterprise Mail have slightly different entry points — pick the matching tab below.

  1. Sign in to your 126 personal email account.
  2. Click the Settings button (gear icon) in the top-right corner, then select Settings.
  3. In the left navigation, find Account Settings.
  4. On the settings page, find IMAP/SMTP and enable the service.
  5. Complete identity verification as prompted; the page will display an authorization code. Copy it and paste it into Niceggie's Connect Your Email page, then save.
  6. Back on the mailbox homepage, click Security Level and wait for the health check to finish. Find the IMAP service row, hover over the end of it, and click Trust to finish setup and keep the connection stable.
Protocol Host Port Encryption
IMAP imap.126.com 993 SSL
SMTP smtp.126.com 465 SSL
  1. Sign in to your 163 personal email account.
  2. Click the Settings button (gear icon) in the top-right corner, then select Settings.
  3. In the left navigation, find Account Settings.
  4. On the settings page, find IMAP/SMTP and enable the service.
  5. Complete identity verification as prompted; the page will display an authorization code. Copy it and paste it into Niceggie's Connect Your Email page, then save.
  6. Back on the mailbox homepage, click Security Level and wait for the health check to finish. Find the IMAP service row, hover over the end of it, and click Trust to finish setup and keep the connection stable.
Protocol Host Port Encryption
IMAP imap.163.com 993 SSL
SMTP smtp.163.com 465 SSL
  1. Contact your mailbox administrator to enable IMAP & SMTP access for this mailbox.
  2. Once access is enabled, enter your email address on Niceggie's Connect Your Email page.
  3. Enter your enterprise mailbox's login password in the authorization code field.
  4. Choose the folders you want to authorize, finish the setup, and save.
Protocol Host Port Encryption
IMAP imap.qiye.163.com 993 SSL
SMTP smtp.qiye.163.com 465 SSL

Demo of enabling IMAP/SMTP service on 126/163 Mail

Setting the IMAP service to Trust after a 126/163 security check

The Trust step improves connection stability

After a personal mailbox passes the Security Level check and you set the IMAP service to Trust, you'll see fewer re-verification prompts during later sync.

Tencent Enterprise Mail

Authorization method: 🔑 Authorization Code. By default this is your mailbox login password; if secure login is enabled, you'll need to generate a separate client-specific authorization code instead.

  1. Contact your mailbox administrator to confirm POP3/IMAP/SMTP access is enabled for this mailbox.
  2. Sign in to the Tencent Enterprise Mail web client, click SettingsMail Sending and Receiving Settings, and confirm Client Service Agreement is enabled.
  3. If secure login is not enabled: the authorization code is simply your mailbox login password — use it directly.
  4. If secure login is enabled: go to SettingsMailbox Binding and generate a client-specific authorization code.
  5. Paste the code (your login password or the client-specific code) into the authorization code field on Niceggie's Connect Your Email page, choose the folders you want to authorize, and save.

Not sure whether secure login is enabled?

Check the current login-protection status under Tencent Enterprise Mail's SettingsSecurity Settings; contact your mailbox administrator if you're unsure.

Protocol Host Port Encryption
IMAP imap.exmail.qq.com 993 SSL
SMTP smtp.exmail.qq.com 465 SSL

Aliyun Mail (Personal / Enterprise)

Authorization method: 🔑 Authorization Code (Aliyun Mail calls this a "third-party client security password"). Aliyun Mail blocks third-party client sign-in by default, so you first need to confirm the relevant permission is enabled, then generate a security password to use as the authorization code. Personal and enterprise mailboxes sign in through different portals — pick the matching tab below.

  1. Confirm your account isn't restricted from third-party client sign-in by your mailbox administrator, and that IMAP or POP3 access is enabled (contact your administrator if you're unsure).
  2. Sign in to the web version of Aliyun Mail (mail.aliyun.com), then click SettingsAccount and Security.
  3. Find Third-Party Client Security Password, click Generate Password, and complete identity verification as prompted (e.g., SMS code).
  4. Copy the generated security password and paste it into the authorization code field on Niceggie's Connect Your Email page, choose the folders you want to authorize, and save.
Protocol Host Port Encryption
IMAP imap.aliyun.com 993 SSL
SMTP smtp.aliyun.com 465 TLS
  1. Contact your enterprise mailbox administrator to enable IMAP or POP3 access for this account in the admin console, and allow third-party client sign-in.
  2. Sign in to the web version of Aliyun Enterprise Mail (qiye.aliyun.com), then click SettingsAccount and Security.
  3. Find Third-Party Client Security Password, click Generate Password, and complete identity verification as prompted.
  4. Copy the generated security password and paste it into the authorization code field on Niceggie's Connect Your Email page, choose the folders you want to authorize, and save.
Protocol Host Port Encryption
IMAP imap.qiye.aliyun.com 993 SSL
SMTP smtp.qiye.aliyun.com 465 TLS

The security password is not your mailbox login password

Once the third-party client security password feature is enabled, third-party clients must use the generated security password — entering your regular mailbox login password will fail with a "wrong username or password" error.

Feishu Mail

Authorization method: 🔑 Authorization Code (Feishu Mail calls this a "third-party client password").

  1. Contact your enterprise administrator to enable Allow employees to sign in to Feishu Mail with a third-party email client in the Feishu admin console (skip this step if it's already enabled).
  2. Sign in to the web version of Feishu Mail, then click SettingsAccount and Security.
  3. Find Third-Party Client Password, click Generate Password, and complete identity verification as prompted.
  4. Copy the generated authorization code and paste it into the authorization code field on Niceggie's Connect Your Email page, choose the folders you want to authorize, and save.

This option is hidden until an administrator enables it

The Third-Party Client Password feature must be turned on by an administrator first — employees can't enable this permission themselves from their personal settings.

Protocol Host Port Encryption
IMAP imap.feishu.cn 993 SSL
SMTP smtp.feishu.cn 465 SSL

Zoho Mail

Authorization method: 🔑 App Password. Your sign-in domain is either pro.zoho.com (Professional) or zoho.com (Standard), depending on your account — the steps are the same either way.

  1. Sign in to your Zoho Mail account.
  2. Click Settings (gear icon) in the top-right corner.
  3. In the left menu, select Email Accounts, then check every sub-option under IMAP and SMTP and save.
  4. Back on the mail list page, click your avatar in the top-right corner and select My Account.
  5. Go to SecurityApp PasswordsGenerate New Password. In the dialog that opens, type a name of your choice (e.g., Niceggie) in the name field and click Generate.
  6. Copy the generated App Password and paste it into the authorization code field on Niceggie's Connect Your Email page, choose the folders you want to authorize, and save.

Zoho Mail settings entry point

Zoho Mail IMAP/SMTP settings

Zoho Mail My Account entry point

Zoho Mail App Password generation dialog

Zoho Mail generated App Password result

The App Password is only shown once

Copy and save it immediately after generating it. If you lose it, you can generate a new one to replace it at any time.

Protocol Host Port Encryption
IMAP imappro.zoho.com 993 SSL
SMTP smtppro.zoho.com 465 SSL
Protocol Host Port Encryption
IMAP imap.zoho.com 993 SSL
SMTP smtp.zoho.com 465 SSL

263 Enterprise Mail

Authorization method: 🔑 Authorization Code.

  1. Sign in to your 263 Enterprise Mail account.
  2. Click your avatar in the top-right corner, then click Settings.
  3. Select Account Security, then click to add a new authorization code.
  4. Copy the generated code and paste it into the authorization code field on Niceggie's Connect Your Email page, choose the folders you want to authorize, and save.

263 Enterprise Mail settings entry point

Generating an authorization code in 263 Enterprise Mail

The code is only shown once

Copy and save it immediately after generating it. If you lose it, you can generate a new one to replace it at any time.

Protocol Host Port Encryption
IMAP imap.263.net 993 SSL
SMTP smtp.263.net 465 SSL