Install
openclaw skills install alimail快速查询企业内部员工邮箱、工号及部门信息。
openclaw skills install alimailConfigure in ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"alimail": {
"enabled": true,
"env": {
"ALIMAIL_CLIENT_ID": "your_CLIENT_ID",
"ALIMAIL_CLIENT_SECRET": "your_CLIENT_SECRET"
}
}
}
}
}
(name=*xxx) logic.employeeNo), email (email), and name (name).AI automatically recognizes and searches for names mentioned by users. For example:
SearchAlimailUser:Run the script under workspace (do not use the path under node_modules):
python3 ~/.openclaw/workspace/skills/alimail/main.py "张三"
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
}
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.