Skip to main content

QQ Mail

Connect QQ Mail with your email address and authorization code so agents can access mail over IMAP/SMTP.

Once QQ Mail is connected, agents can access your mailbox over the IMAP/SMTP protocols and work with mail data. Connecting requires no auth config. The connection dialog has only two fields: Email address and Authorization code.

Before you connect

The authorization code is not your QQ password — it is a credential QQ Mail issues separately for third-party clients. To get one:
  1. Sign in to QQ Mail on the web, and go to Settings → Account and Security → Security Settings.
  2. Enable the IMAP/SMTP service.
  3. Click Generate authorization code, complete the QR-code or password verification as prompted, and copy the generated code.
For details, see the official QQ Mail help: How to generate an authorization code and sign in from third-party clients over POP/IMAP/SMTP.
The authorization code is equivalent to a password — do not leak it. Changing your QQ password invalidates existing codes, so you need to generate a new one and rebuild the connection with it.

Steps to connect

  1. Open the connection dialog: In the left-hand navigation of the console, click Apps, find the QQ Mail card, and click Connect. The dialog is titled Connect App, with a QQ Mail authentication section noting that the email address and authorization code are stored encrypted and used only to establish the mail connection.
  2. Enter the email address: Provide the full QQ Mail address, in the form yourname@qq.com. Required.
  3. Enter the authorization code: Provide the code generated in QQ Mail settings above. This is a password field, so your input is not echoed. Required.
  4. Submit: Click Submit. Note the button is Submit, not the Confirm used by Apps that need an auth config.
The dialog has no connector name or description fields. The connector name is generated by the platform and can be renamed after the connection is created.

Automatically generated tools

A set of mail-related tools is generated once the connection succeeds. View them in the Available tools section of the App details page. Refer to the page for the actual tool list.

Multiple accounts

You can create multiple connectors under the same QQ Mail App, each for one mailbox account and its authorization code. To connect several mailboxes, generate a code for each and create a connector per mailbox, telling them apart by connector name. For how to manage them, see Connected accounts.

Credential security

  • The authorization code and email address are stored encrypted by the platform and used only to establish the mail connection.
  • Do not paste the authorization code into chat groups, code repositories, or tickets.
  • If the code leaks, generate a new one in QQ Mail Security Settings, then rebuild the connection with it.

Troubleshooting

SymptomCommon cause
Authentication fails after submittingThe code is wrong, has extra whitespace, or has expired (changing the QQ password invalidates old codes). Generate a new one and retry
The email address is rejectedThe address is incomplete — it must include the @qq.com suffix
Connection succeeds but no mail is readableThe IMAP/SMTP service is not enabled or was turned off in QQ Mail. Check the service state in Security Settings
A previously working connection suddenly failsThe code was regenerated or the QQ password changed. Rebuild the connection with the current valid code
The authorization code is a credential shown at generation time — connect right after generating it rather than keeping it around, which reduces leakage risk.
Agent Development
Agent Governance & Evolution
Store
Application Marketplace