Aller au contenu
Skillpedia
E-mail et messagerie37k · #7579

mailbox

Ce qu’il fait

Cette compétence gère les tâches de messagerie comme la lecture, l'envoi, la réponse et l'organisation des messages. Elle s'adresse aux utilisateurs qui veulent que leur agent travaille avec un compte de messagerie personnel.

Quand l’utiliser

  • ✓Quand vous voulez que votre agent consulte ou recherche dans votre messagerie personnelle.
  • ✓Quand vous devez envoyer, répondre à ou transférer un e-mail depuis votre agent.
  • ✓Quand vous voulez connecter une messagerie personnelle prise en charge, comme Gmail ou QQ Mail.

Lien du skill

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/mailbox-en/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/mailbox-en/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Vérifie mon Gmail pour les messages de mon comptable cette semaine et résume-les.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Elle utilise un connecteur de messagerie pour se connecter à une messagerie personnelle prise en charge. Elle exécute ensuite les actions demandées, comme la recherche, la lecture ou la réponse.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Google 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

  1. Call check_auth directly. The managed DriverCard already receives the stored email credential through a runtime credential reference; do not look it up in agent.json and do not call set_credentials merely because secret fields are absent.
  2. If check_auth succeeds, perform the requested mailbox operation.
  3. 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_auth after the agent reloads.
  4. If the user explicitly supplies an email and credential in the current conversation, set_credentials may be used as a temporary session-only override, followed by check_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

Questions fréquentes

Quels services de messagerie sont pris en charge ?

Les messageries personnelles de NetEase, Tencent, Sina et Google Gmail le sont, et les comptes Alibaba seulement s'ils existent déjà.

Ai-je besoin d'un mot de passe spécial ?

La plupart des fournisseurs demandent un code d'autorisation ou un mot de passe d'application. Les comptes Alibaba utilisent le mot de passe de connexion habituel.

Fonctionne-t-elle avec une messagerie d'entreprise ?

Non. Les messageries d'entreprise, les domaines personnalisés et les messageries Microsoft ne sont pas pris en charge.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
37k
Position au classement
#7579
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires