返回顶部
n

near-email-reporterNEAR邮件报告

Send NEAR reports and alerts via email with SMTP configuration, scheduling, and automatic reporting.

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

near-email-reporter

NEAR 邮件报告技能

通过电子邮件发送带有定时功能的NEAR交易报告。

描述

该技能允许您配置电子邮件设置、发送NEAR交易报告、设置警报以及安排定期邮件报告。使用标准SMTP协议,并采用安全的配置存储方式。

功能特性

  • - 配置SMTP邮件设置
  • 通过电子邮件发送交易报告
  • 为特定事件设置警报
  • 安排定期报告
  • 安全的配置存储

命令

near-email setup [选项]

配置电子邮件设置。

选项:

  • - --host <主机> - SMTP服务器主机
  • --port <端口> - SMTP服务器端口(默认:587)
  • --user <用户名> - SMTP用户名
  • --pass <密码> - SMTP密码
  • --from <邮箱> - 发件人邮箱地址
  • --secure - 使用SSL/TLS(默认:false)

示例:
bash
near-email setup --host smtp.gmail.com --port 587 --user myemail@gmail.com --pass mypassword --from myemail@gmail.com

near-email report <账户ID> [收件人]

发送账户的交易报告。

参数:

  • - account_id - 要报告的NEAR账户
  • recipient - 邮件收件人(可选,使用默认收件人)

near-email alert <账户ID> <阈值> [收件人]

为账户设置余额警报。

参数:

  • - account_id - 要监控的NEAR账户
  • threshold - 余额阈值(以NEAR为单位)
  • recipient - 邮件收件人(可选)

near-email schedule <账户ID> [收件人]

安排定期邮件报告。

参数:

  • - accountid - 要报告的NEAR账户
  • cronexpr - Cron表达式(例如:0 9 *表示每天上午9点)
  • recipient - 邮件收件人(可选)

配置

邮件设置存储在~/.near-email/config.json中,具有安全权限。

系统要求

  • - SMTP邮件账户(Gmail、SendGrid等)
  • 运行脚本需要Node.js

注意事项

  • - 对于Gmail,请使用应用密码:https://myaccount.google.com/apppasswords
  • 配置文件以受限权限安全存储

参考资源

  • - Nodemailer:https://nodemailer.com/
  • NEAR RPC API:https://docs.near.org/api/rpc

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 near-email-reporter-1776339620 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 near-email-reporter-1776339620 技能

通过命令行安装

skillhub install near-email-reporter-1776339620

下载

⬇ 下载 near-email-reporter v1.0.0(免费)

文件大小: 4.33 KB | 发布时间: 2026-4-17 15:15

v1.0.0 最新 2026-4-17 15:15
Initial release of near-email-reporter.

- Configure SMTP email settings securely.
- Send NEAR transaction reports to specified email addresses.
- Set up balance alerts for NEAR accounts with automatic email notifications.
- Schedule periodic transaction reports using cron expressions.
- All configuration is stored securely in the user’s home directory.
- Supports standard SMTP providers (e.g., Gmail, SendGrid).

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

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

p2p_official_large
返回顶部