mailbox
What it does
This skill handles email tasks such as reading, sending, replying, and organizing messages. It is for users who want their agent to work with a personal email account.
When to use it
- ✓When you want your agent to check or search your personal email.
- ✓When you need to send, reply to, or forward an email from your agent.
- ✓When you want to connect a supported personal mailbox such as Gmail or QQ Mail.
Skill link
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/mailbox-en/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check my Gmail for any messages from my accountant this week and summarize them.”
5 new skills a week. 1 minute to read.
How it works
It uses a mail connector to sign in to a supported personal mailbox. It then runs the requested email actions, such as searching, reading, or replying.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Mailbox Operations (qwenpawmail-mcp)
Use qwenpawmail-mcp to connect or register a mailbox and perform email operations.
Supported Providers
The managed QwenPaw mailbox workflow supports these nine mail domains:
| Provider | Domains | Login credential |
|---|---|---|
| NetEase | 163.com, 126.com, yeah.net |
16-character authorization code |
| Tencent | qq.com, foxmail.com |
16-character authorization code |
| Sina | sina.com, sina.cn |
16-character authorization code |
| Alibaba | aliyun.com |
Mailbox login password; existing accounts only |
gmail.com |
16-character app password after enabling 2-Step Verification |
Enterprise mailboxes, custom domains, and Microsoft mailboxes are not supported by the current managed workflow. Do not try enterprise provider overrides or custom IMAP/SMTP hosts. Ask the user to choose one of the supported personal domains instead.
create_mailbox provides built-in registration guidance only for 163.com, 126.com, yeah.net, qq.com, and foxmail.com. Other supported domains require their official registration flow. New aliyun.com registration is unavailable; only existing accounts can be connected.
Invocation Rule
For any email operation, use this skill as the entry point. Do not invent another email workflow or bypass qwenpawmail-mcp with raw IMAP/SMTP commands.
Credential and Configuration Model
agent.json contains only public mailbox configuration. Its expected mail shape is:
{
"mail": {
"is_new_account": false,
"credential": {
"name": "myaccount",
"domain": "163.com",
"provider": ""
},
"push": {
"mode": "off",
"rules": [],
"poll_interval_seconds": 120,
"access_control_enabled": false
}
}
}
The sensitive fields auth_code, password, and phone_number are intentionally absent from agent.json and redacted from Agent API responses. The provider credential represented by auth_code is stored encrypted after it is configured. Registration passwords and phone numbers are entered only on the provider page and are not stored by the current QwenPaw workflow. The absence of auth_code from public configuration does not mean that the user did not configure it.
QwenPaw resolves the encrypted provider credential into the managed DriverCard only at runtime. Never read, decrypt, print, copy, or modify credentials.yaml, and never search files or logs for a secret. Use the workflows below.
Workflow: Connect or Create the Mailbox Account
Step 1 — Read public mailbox state
Read mail.is_new_account, mail.credential.name, and mail.credential.domain from agent.json. Treat provider as empty for every currently supported personal domain.
If mail is missing, ask the user to configure Email Management in the QwenPaw Agent Settings UI before continuing.
Step 2a — is_new_account is false: manage an existing mailbox
- Call
check_authdirectly. The managed DriverCard already receives the stored email credential through a runtime credential reference; do not look it up inagent.jsonand do not callset_credentialsmerely because secret fields are absent. - If
check_authsucceeds, perform the requested mailbox operation. - If credentials are missing or invalid, ask the user to edit this agent in QwenPaw, choose Manage your personal mailbox, enter the mailbox credential again, and save. Retry
check_authafter the agent reloads. - If the user explicitly supplies an email and credential in the current conversation,
set_credentialsmay be used as a temporary session-only override, followed bycheck_auth. It does not update the encrypted QwenPaw configuration and is lost when the MCP process restarts.
For temporary set_credentials, pass the full email and the provider-specific credential in the auth_code parameter. For aliyun.com, that parameter contains the login password; for the other supported domains, it contains the 16-character authorization code or app password.
Step 2b — is_new_account is true: register a dedicated mailbox
Use the public username and domain from agent.json. If the username is blank, let create_mailbox generate one or agree on one with the user.
Registration passwords and phone numbers are entered on the provider page and are deliberately unavailable to the Agent. Do not try to recover them from files. The optional credential field in the QwenPaw dedicated-m
FAQ
Which email services are supported?
Personal mailboxes from NetEase, Tencent, Sina, and Google Gmail are supported, and Alibaba accounts work only if they already exist.
Do I need a special password?
Most providers need an authorization code or app password. Alibaba accounts use the normal mailbox login password.
Does it work with company email?
No. Enterprise mailboxes, custom domains, and Microsoft mailboxes are not supported.
Details
Original description by the author
Use this skill whenever the user needs ANY mailbox/email operation — checking, reading, searching, sending, replying, forwarding, organizing or deleting email, managing threads, connecting a personal mailbox, or registering a new mailbox. This skill is the single entry point for email tasks and orchestrates qwenpawmail-mcp for nine supported personal-mail domains.
repo: agentscope-ai/QwenPaw
Popularity
- GitHub stars
- 37k
- Ranking position
- #7579
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
terraform-skill
37kHelps your agent write, test, and review Terraform or OpenTofu infrastructure code, covering modules, CI/CD, security scanning, and state issues.
computer_use
37kLets your agent operate a live Windows or macOS app by observing the screen, clicking, and checking each result, when no direct tool can do the job.
browser
37kLets your agent drive a live web browser through the QwenPaw Browser SDK, reading pages, acting on them, and checking results before claiming success.
channel_message
37kLets your agent send a one-way message to a specific chat channel or session, such as a task-finished alert, once it has found the right destination.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.