360 Secure SkillHub
360 安全技能中心

Email Manager

通过 Node 脚本在本地明文 JSON 邮件库中检索收件箱、查看线程与状态、标记已读、预览或保存草稿,并在用户确认后删除记录或清理设置文件中的多余字段;不发送或接收网络邮件,存储目录需注意权限。

分类:协作
jlacroix82
jlacroix82
热度 66.04
最近更新 2026-12-02 07:51:29

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add jlacroix82/email-mgr
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
email-mgr
description
Search and manage local mail records and draft previews. Does not send or receive email over the network.
version
1.0.5
metadata
{"openclaw":{"requires":{"bins":["node"]},"envVars":[{"name":"EMAIL_DIR","required":false,"description":"Alternate workspace for the local mail store."}]}}

Email Manager

Run node {baseDir}/email-manager.js. Messages and drafts are stored as plaintext JSON in memory/email; on Windows choose a directory with a restrictive ACL. --dir <dedicated-directory> can precede the command. Optional settings.json supports the sender string only; remove any old SMTP credentials or tokens and review whether they need rotation.

  • --inbox [count] [--unread], --search <query>, --thread <id>, --status: inspect local records.
  • --inbox --read <id>: mark a record read.
  • --compose <to> <subject> [body]: save a local draft. Prefix the operands with --preview or --dry-run to preview without writing. The legacy --send flag is also preview-only and never transmits mail.
  • --inbox --delete <id> --confirm-delete: permanently delete a local record after the user approves.
  • --clean-settings --confirm: remove fields other than sender from an existing settings file after user approval.

Version 1.0.5 adds private atomic storage, repairs POSIX modes on existing state, implements local read/delete commands, and makes dry-run and send previews non-writing.