alimail-manager

提供阿里邮箱API调用能力,支持用户信息查询、邮件详情获取、邮件搜索;当用户需要查询企业邮箱用户信息、查看特定邮件内容、搜索符合条件的邮件时使用

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "alimail-manager" with this command: npx skills add vber/skill-alimail

阿里邮箱管理

任务目标

  • 本 Skill 用于:管理阿里邮箱用户和邮件数据
  • 能力包含:用户信息查询、邮件详情获取、邮件列表搜索、分页查询
  • 触发条件:用户需要查询企业邮箱用户、查看邮件内容、搜索邮件列表

前置准备

  • 依赖说明:需要安装阿里邮箱SDK
    npm install alimail-node-sdk
    
  • 认证方式:OAuth2 client_credentials
  • 必填环境变量:
    • ALMAIL_APP_ID:阿里邮箱应用 ID
    • ALMAIL_SECRET:阿里邮箱应用 Secret

操作步骤

标准流程

  1. 执行具体操作

    • 获取用户信息:调用 scripts/get_user.js
    • 获取邮件详情:调用 scripts/get_message.js
    • 搜索邮件:调用 scripts/search_messages.js
  2. 处理结果

    • 解析返回的JSON数据
    • 根据业务需求提取关键信息
    • 提供清晰的总结和建议

可选分支

  • 需要获取扩展字段:在参数中指定 select 字段
  • 需要分页查询:使用 search_messages.js 的 cursor 机制
  • 遇到API限流:SDK会自动处理重试,建议适当降低请求频率

资源索引

注意事项

  • 邮件搜索支持KQL查询语法,详见参考文档
  • 使用时必须配置 ALMAIL_APP_IDALMAIL_SECRET

使用示例

示例1:获取用户信息

node scripts/get_user.js --email "zhangsan@example.com" --select "phone,managerInfo"

示例2:获取邮件详情

node scripts/get_message.js --email "zhangsan@example.com" --message-id "AAMkAGI2T..." --select "body,toRecipients"

示例3:搜索邮件

node scripts/search_messages.js --email "zhangsan@example.com" --query 'fromEmail="alice@example.com"' --size 20

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated