Mail Management Master: Handling Personal Emails in an Agent using IMAP/SMTP

Introduction

Personal email accounts are often scattered across multiple services: you have to open web pages or clients one by one to check unread messages, switch identities repeatedly to reply, and manually verify signatures and body text before sending. The common approach to integrating email capabilities into an Agent is to add a proprietary API layer or cloud relay, which means credentials and email content leave your local machine.

Here we introduce the “Email Management Master” on SkillHub: it uses standard IMAP/SMTP protocols and lets the Agent handle unread summaries, drafts, sending, organization, and cleanup according to the skill’s instructions. Summarization and replies are handled natively by the Agent, and credentials and email identities are stored locally. The label requires_api_key=false indicates no dependency on additional cloud API keys.

What Is This

“Email Management Master” is a community-sourced (community) productivity Skill with the identifier @user_70be5743/email-master-engicool, currently at version 1.0.0, maintained by publisher user_70be5743. It is categorized under office-efficiency on SkillHub.

In one sentence: it is an IMAP/SMTP-based personal email assistant that, once installed in a Skills-supported Agent environment, enables you to read, draft, send, and organize emails through conversational commands, without outsourcing the “write reply” task to a remote model service bundled with the skill.

Core Features

The following capabilities are based on the official SkillHub description. After installation, refer to the SKILL.md file inside the skill package for specific steps.

  1. Unread Summary: Fetches unread emails via IMAP and lets the Agent summarize key points, reducing the need to open multiple email accounts individually.
  2. Smart Reply Drafts: Generates reply drafts on the Agent side, which you can review, modify, or confirm before sending.
  3. Multi-Account Switching: Manage multiple email identities under the same skill (credentials and identities stored locally).
  4. SMTP Sending: Supports signatures; requires confirmation of the full message before sending to reduce the risk of misdirected emails.
  5. IMAP-Based Email Classification: Organize emails in the mailbox according to rules or conversational intent (see the skill documentation for specific folders and rules).
  6. Spam Folder Cleanup: Performs cleanup operations on the spam directory (see the skill documentation for scope and confirmation methods).

Note: The “summary” and “reply text” of email content are handled by the Agent’s native capabilities; the skill focuses on protocol integration, local credentials, and operational workflows, not on replacing your large language model.

Installation and Activation

Install via SkillHub CLI

The official installation method is to let the Agent follow the SkillHub installation documentation and install the identifier @user_70be5743/email-master-engicool. Documentation URL: https://skillhub.cn/install/skillhub.md.

First, check if the CLI is already installed:

command -v skillhub && skillhub --version

If not installed, use the complete installation command from the documentation (requires internet connection):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing the skill, you must use the --dir flag to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized by the current client:

skillhub install @user_70be5743/email-master-engicool --dir <skills directory>

Common client skills directories (from the SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ within the project

You can also send the installation prompt to an AI, saying: Install @user_70be5743/email-master-engicool according to https://skillhub.cn/install/skillhub.md.

Preparation Before Activation

  1. Confirm that your email service provider offers IMAP (for reading emails) and SMTP (for sending emails), and enable client authorization or app-specific passwords (refer to your provider’s documentation).
  2. After installation, read the SKILL.md file in the skill package and configure credentials, default email account, signatures, and other fields locally as instructed. The official description clearly states that credentials and email identities are stored locally; do not share passwords in conversations or commit them to version control.

Different Agents load Skills differently. If the skill is not active after installation to the correct directory, refer to your client’s documentation to refresh or restart before trying again.

Typical Usage

The official page does not list specific conversational examples; based on the features described, you can initiate natural language requests similar to the following in the Agent (actual commands and confirmation processes are subject to the SKILL.md):

  1. Check Unread: “Summarize unread emails from the last 24 hours in my default mailbox, grouped by sender with subjects listed.”
  2. Draft Reply: “Open a specific unread email, read the body, and draft a brief reply based on the content. Do not send it yet.”
  3. Switch Account: “Switch to my second email account, then list unread messages.”
  4. Send: “Use the current account’s SMTP to send the draft from earlier, include the signature, and show me the full text for confirmation before sending.”
  5. Organize and Clean Up: “Archive read emails from last week in a specific folder by sender” or “Empty the spam folder (first explain how many emails will be deleted).”

Through these steps, reading, drafting, sending, and organizing are all completed within your Agent session. Sending operations should retain the “full-text confirmation” step, consistent with the skill’s design for SMTP sending.

Applicable Scenarios and Notes

Who It’s For

  • Users who already have IMAP/SMTP personal or work email accounts and want to handle emails via conversational commands in environments like Cursor, Claude Code, Codex, or other Skills-supported clients.
  • Users who want summaries and replies to use the current Agent’s model rather than applying for a separate cloud API key for email (requires_api_key=false).

Limitations and Notes

  • Depends on the email service provider’s IMAP/SMTP policies; some enterprise email systems restrict third-party clients, requiring admin approval or app-specific passwords.
  • This is a community Skill; behavioral details and error handling are subject to the SKILL.md and future versions; currently at 1.0.0.
  • SkillHub statistics (as of the page data): Rating 100000, Downloads 3409; installation or configuration errors may cause connection failures, so first verify the host, port, and encryption method.
  • Smart replies are generated by the Agent; always manually verify facts, recipients, and attachments before sending. The skill emphasizes full-text confirmation before sending—do not skip this step.

Conclusion

“Email Management Master” integrates personal email with standard IMAP/SMTP, using the Agent to handle unread summaries, reply drafts, multi-account switching, sending with signatures and confirmation, IMAP-based organization, and spam folder cleanup, with credentials stored locally. If you are looking for an office productivity email Skill on SkillHub, you can check the official page for details and installation:

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye