alimail
name: alimail
by colin-megan · published 2026-03-22
$ claw add gh:colin-megan/colin-megan-alimail---
name: alimail
title: 阿里邮箱企业助手
description: 快速查询企业内部员工邮箱、工号及部门信息。
version: 1.0.6
author: "Colin"
entrypoint: main.py
metadata:
clawdbot:
requires:
env:
- ALIMAIL_CLIENT_ID
- ALIMAIL_CLIENT_SECRET
secrets:
- name: "ALIMAIL_CLIENT_ID"
description: "阿里云 OAuth2 Client ID"
- name: "ALIMAIL_CLIENT_SECRET"
description: "阿里云 OAuth2 Client Secret"
---
Configuration
Configure in **`~/.openclaw/openclaw.json`**:
{
"skills": {
"entries": {
"alimail": {
"enabled": true,
"env": {
"ALIMAIL_CLIENT_ID": "your_CLIENT_ID",
"ALIMAIL_CLIENT_SECRET": "your_CLIENT_SECRET"
}
}
}
}
}
Core Features
* **Precise Lookup**: Enter a name to retrieve the full email address.
* **Fuzzy Search**: Supports partial name searches, automatically handling `(name=*xxx)` logic.
* **Detailed Information**: Returns employee ID (`employeeNo`), email (`email`), and name (`name`).
User Guide
AI automatically recognizes and searches for names mentioned by users. For example:
Agent instructions
**SearchAlimailUser**:Run the script under workspace (do not use the path under node_modules):
python3 ~/.openclaw/workspace/skills/alimail/main.py "张三"
Output Examples
**error result1:**
{"status": "error", "message": "Parameter 'name' is required"}
**error result:**
{"status": "api_failed", "details": "403 Client Error: Forbidden for url: "}
**error result:**
{
"users": [
{
"name": "总部IT开发-张三",
"email": "zhangsan@test.com",
"employeeNo": "zhangsan"
}
],
"total": 1
}
Privacy Statement
This skill only calls the query interface and does not have the permissions to read, delete, or send emails, ensuring the security of enterprise data.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...