Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

agent-email-setupAgent 电子邮件设置

Agent Skill

agent-email-setup 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,277

周安装

93

GitHub Stars

公开资料未说明

下载量

737
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-email-setup(Agent 电子邮件设置)
来源仓库:https://github.com/stefanferreira/agent-email-setup
安装命令:
openclaw skills install agent-email-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agent-email-setup

简介

Agent Email Setup 为 AI 代理配置专用电子邮件账户。

  • 集成工作流认证与权限分离机制,适配不同角色需求。
  • 支持自动转发规则与标签分类,提升通信管理效率。
  • 安装命令:openclaw skills install agent-email-setup,需第三方邮箱 API 接入。
  • 务必启用双重验证,防止凭证泄露导致批量邮件发送滥用。

SKILL.md

name
agent-email-setup
description
Set up dedicated email accounts for AI agents with proper workflows. Use when agents need external communications (Lourens for sysadmin, Ace for competitions). Always test in sandbox first, document configuration, then deploy to production.

Agent Email Setup

Purpose

Provide dedicated email accounts for AI agents with clear role separation and approval workflows. Prevents mixing of responsibilities (e.g., Ace shouldn't handle Contabo support tickets).

When to Use

Set up email for agent when:

  • Agent needs external communications (Lourens, Ace)
  • Role separation is important
  • Audit trail needed for communications
  • Professional identity required

Do NOT set up email for:

  • Internal-only agents (Bob, Scout)
  • Agents without external communication needs
  • Temporary/task-specific agents

Architecture

Email Address Strategy

@supplystoreafrica.com domain:
- lourens@      → SysAdmin (infrastructure, support tickets)
- ace@          → Competitions (entries, prize notifications)
- facet@        → CAD (manufacturer communications) - if needed

Forwarding Rules

  • All agent emails forward to: stef.personal@gmail.com
  • CC on all sent emails: stef.personal@gmail.com
  • Maintain separate sent folders per agent

Role Separation

AgentEmailPurposeExternal Comms
Lourenslourens@Infrastructure, support tickets, system issues✅ Required
Aceace@Competition entries, prize notifications✅ Required
Facetfacet@Manufacturer inquiries, technical specs⚠️ Optional
Bob-Internal coordination only❌ Not needed
Scout-Research, no external comms❌ Not needed

Workflow

1. Sandbox Testing (ALWAYS FIRST)

# Create sandbox environment
python3 /root/.openclaw/workspace/sandbox_lourens_email.py

# Test configuration
cd /tmp/lourens_email_sandbox_*/ && python3 test_email_workflow.py

2. Production Setup

Step 1: Create Email Account

  1. Log into hosting control panel
  2. Create email account: agentname@supplystoreafrica.com
  3. Set strong password (store in Bitwarden)
  4. Configure forwarding to stef.personal@gmail.com

Step 2: Configure IMAP/SMTP

{
  "imap_server": "mail.supplystoreafrica.com",
  "imap_port": 993,
  "smtp_server": "mail.supplystoreafrica.com", 
  "smtp_port": 587,
  "username": "agentname@supplystoreafrica.com",
  "password": "{{BITWARDEN_PASSWORD}}"
}

Step 3: Agent Configuration

Add to agent's workspace:

# Create email config
mkdir -p /root/.openclaw/agents/{agent}/workspace/email/
cat > /root/.openclaw/agents/{agent}/workspace/email/config.json << 'EOF'
{{
  "email": "{agent}@supplystoreafrica.com",
  "display_name": "{Agent Name} {Role}",
  "signature": "Best regards,\\
\\
{Agent Name}\\
{Role} Agent\\
Supply Store Africa\\
{agent}@supplystoreafrica.com",
  "forward_to": ["stef.personal@gmail.com"],
  "auto_cc": ["stef.personal@gmail.com"]
}}
EOF

Step 4: Update OpenClaw Configuration

# Add email tools to agent
openclaw config set agents.list[{index}].tools.allow+=email_send
openclaw config set agents.list[{index}].tools.allow+=email_check

3. Email Templates

Generic Template

TO: {recipient}
FROM: {Agent Name} {Role} <{agent}@supplystoreafrica.com>
CC: Stef Ferreira <stef.personal@gmail.com>
SUBJECT: {subject}
DATE: {date}

{greeting},

{body}

{signature}

Contabo Support Template (Lourens)

TO: support@contabo.com
FROM: Lourens SysAdmin <lourens@supplystoreafrica.com>
CC: Stef Ferreira <stef.personal@gmail.com>
SUBJECT: {ticket_subject}
DATE: {date}

Dear {support_agent},

{content}

Current system status:
- VPS: 161.97.110.234
- Ticket: {ticket_number}
- Issue: {issue_description}

We appreciate your assistance.

Best regards,

Lourens
SysAdmin Agent
Supply Store Africa
lourens@supplystoreafrica.com

Competition Entry Template (Ace)

TO: competitions@company.com
FROM: Ace Competitions <ace@supplystoreafrica.com>
CC: Stef Ferreira <stef.personal@gmail.com>
SUBJECT: Entry: {competition_name}
DATE: {date}

Dear Competition Team,

Please accept my entry for {competition_name}.

{entry_details}

Thank you for this opportunity.

Best regards,

Ace
Competitions Agent
Supply Store Africa
ace@supplystoreafrica.com

4. Approval Workflow

ALL external emails require approval:

  1. Draft created in /root/.openclaw/workspace/drafts/
  2. Presented to Stef in chat interface
  3. Wait for explicit "approved" or "send it"
  4. Send only after approval
  5. Log sent email

Approval triggers:

  • "Approved"
  • "Send it"
  • "Go ahead"
  • "Yes, send that"

NOT approved by:

  • "Looks good" (ambiguous)
  • "OK" (ambiguous)
  • Silence (never assume)

5. Migration Process

When moving communications between agents:

  1. Set up new agent email
  2. Forward thread to new agent email
  3. Send notification: "Future communications: newagent@supplystoreafrica.com"
  4. Update contact information with external party
  5. Archive old agent's involvement

Example: Contabo migration from Ace to Lourens

  1. Create lourens@supplystoreafrica.com
  2. Forward Contabo thread to Lourens
  3. Email Contabo: "Future updates: lourens@supplystoreafrica.com"
  4. Ace focuses only on competitions

Testing Checklist

Sandbox Test

  • [ ] Configuration files created
  • [ ] Templates work correctly
  • [ ] Draft generation tested
  • [ ] Approval workflow simulated
  • [ ] No syntax errors

Production Test

  • [ ] Email account created
  • [ ] IMAP/SMTP connectivity
  • [ ] Send test email (to self)
  • [ ] Receive test email
  • [ ] Forwarding to stef.personal@gmail.com works
  • [ ] CC on sent emails works

Integration Test

  • [ ] Agent can access email
  • [ ] Draft creation works
  • [ ] Approval workflow functional
  • [ ] Sent emails logged
  • [ ] Error handling works

Error Handling

Common Issues

  1. IMAP connection failed: Check credentials, firewall, port
  2. SMTP rejected: Check authentication, port 587 vs 465
  3. Email not forwarding: Check hosting panel settings
  4. CC not working: Check email client configuration

Recovery Procedures

# Test IMAP
openssl s_client -connect mail.supplystoreafrica.com:993 -crlf

# Test SMTP
openssl s_client -connect mail.supplystoreafrica.com:587 -starttls smtp

# Check logs
tail -f /var/log/mail.log

Security

Credential Management

  • Store passwords in Bitwarden
  • Never hardcode in scripts
  • Use environment variables
  • Rotate passwords periodically

Access Control

  • Agents only access their own email
  • No cross-agent email access
  • All emails CC'd to human oversight
  • Sent items archived for audit

Monitoring

  • Failed login attempts logged
  • Unusual sending patterns flagged
  • Regular access review
  • Password rotation schedule

Maintenance

Daily

  • Check sent items logged
  • Verify forwarding working
  • Monitor for failed sends

Weekly

  • Review email logs
  • Check storage quotas
  • Update templates if needed

Monthly

  • Password rotation
  • Audit access logs
  • Review security settings

Related Skills

  • email-approval-workflow - Draft and approval process
  • gmail-gog-setup - Alternative email configuration
  • secure-secret-sharing - For credential sharing if needed
  • agent-lourens - Lourens-specific configuration
  • ace-competitions - Ace-specific configuration

Critical: Agent Knowledge Transfer Protocol

Issue Discovered (March 31, 2026): Facet reported "I have no skills, haven't learned anything yet" Root Cause: Agents configured but had empty workspaces - no knowledge transfer

What MUST Be Transferred When Creating Agents

  1. Identity - Who they are (IDENTITY.md, SOUL.md)
  2. User Context - Who Stef is (USER.md)
  3. System Knowledge - What we've built (MEMORY.md, AGENTS.md)
  4. Skills & Learning - What they can do (skill-specific docs)
  5. Memory & History - What we've learned (memory/ files)
  6. Tool Access - read tool required to access workspace

Knowledge Transfer Procedure

# Run knowledge transfer script
python3 /root/.openclaw/workspace/setup_agent_knowledge.py --agent {agent_name}

# Verify transfer
ls -la /root/.openclaw/agents/{agent}/workspace/
cat /root/.openclaw/agents/{agent}/workspace/IDENTITY.md

Protocol Document

  • AGENT_TRANSFORMATION_PROTOCOL.md - Complete transfer procedure
  • setup_agent_knowledge.py - Automation script

Result: All agents (Lourens, Ace, Scout, Facet) now have complete knowledge and are proper assistants.

Lessons Learned

From Contabo Experience:

  1. Role confusion: Ace shouldn't handle infrastructure emails
  2. Email identity: Professional email addresses matter
  3. Approval workflow: Essential for external communications
  4. Migration planning: Need clear handover process

From Knowledge Transfer Issue:

  1. Empty workspaces: Agents need complete knowledge transfer
  2. Identity files: Must include IDENTITY.md, SOUL.md, USER.md
  3. System context: MEMORY.md and AGENTS.md essential
  4. Tool access: read tool required to access workspace files

Best Practices:

  1. Always sandbox test first
  2. Document configuration thoroughly
  3. Maintain role separation
  4. Human oversight on all external comms
  5. Regular security reviews
  6. Complete knowledge transfer for new agents

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.88%
按下载量换算530

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills