返回顶部
l

lel-mail

Send and read email via a combination of python and bash scripts which makes use of the main agent for reasoning and logic. This skill enables the agent to write to memory based on contents in the email and to reach out to the user either to notify them of happenings or to request inputs to respond. This skill also contains a python script to read and manage the email queue containing functionality to list pending outgoing emails and delete emails before they can be sent out. Please note that th

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.4
安全检测
已通过
722
下载量
0
收藏
概述
安装方式
版本历史

lel-mail

# Lel Mail ## Important Note If Running On the Cloud/VPS - Some cloud providers explicitly disable email leading to failiure of these scripts, services like tailscale will be needed to bypass these blocks ## Setup ### Setting up the Config File Create `~/.config/lel-mail/config.json`: ```json [ { "provider": "gmail", "config": { "smtp": { "server": "smtp.gmail.com", //Default url "port": 587 //Default port }, "imap": { "server": "imap.gmail.com", //Default url "port": 993 //Default port } }, "auth": { "user": "example@gmail.com", "password": "XXXX XXXX XXXX XXXX" //Gmail Requires App Specific Password Rather Than Your Normal Password }, "can_send": true, "can_read": true } ] ``` ### Setting up cron job Set up a simple cron job which runs the following command every 5 minutes with a randomised 30-90 second delay. Confirm with user the interval to be used: ```~/.openclaw/workspace/skills/lel-mail/scripts/email_sender_daemon.sh``` ## Quick Reference ### Read Email 1. Make sure config exists, if not create it with input of user 2. Reference USERS.md (or whatever USER reference file your system uses) to see what email(s) you need to check unless user explicitly defines the email(s) 3. Run the following command ```~/.openclaw/workspace/skills/lel-mail/scripts/check_email.sh <USER_EMAIL>``` ### Send Email # Note, this script does not send the data directly but sends it to a scheduler which will automatically send it in approximately 5.5 minutes 1. Make sure you have the necessary data to send the email from the user, that includes sender, recipient and body, everything else is optional 2. Run the following command ```~/.openclaw/workspace/skills/lel-mail/scripts/email_send.sh --sender <sender> --recipient <recipient> --subject <subject> --body <body> [--cc ...] [--bcc ...]``` Note: if using BCC/CC note that CC/BCC are comma-separated lists ### 3. Manage Outgoing Queue Outgoing emails are scheduled to send with a random delay (30-90 seconds). You can list or delete these before they are sent. **List all queued emails**: ```bash python3 ~/.openclaw/workspace/skills/lel-mail/scripts/manage_queue.py --list ``` **Delete a specific email by ID**: ```bash python3 ~/.openclaw/workspace/skills/lel-mail/scripts/manage_queue.py --delete <ID> ``` ## Troubleshooting Prompt user to assist when errors occur due to missing/invalid credentials/configuration - If emails aren't sending at all check that a cron job for the daemon is running

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 lel-mail-1776420064 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 lel-mail-1776420064 技能

通过命令行安装

skillhub install lel-mail-1776420064

下载 Zip 包

⬇ 下载 lel-mail v1.1.4

文件大小: 9.75 KB | 发布时间: 2026-4-17 18:36

v1.1.4 最新 2026-4-17 18:36
- Updated the skill description to clarify that receiving emails can trigger agent actions such as adding to memory or sending responses.
- No changes to code or functionality; documentation update only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部