---
name: near-email-reporter
description: Send NEAR reports and alerts via email with SMTP configuration, scheduling, and automatic reporting.
---
# NEAR Email Reporter Skill

Send NEAR transaction reports via email with scheduling.

## Description

This skill allows you to configure email settings, send NEAR transaction reports, set up alerts, and schedule periodic email reports. Uses standard SMTP with secure configuration storage.

## Features

- Configure SMTP email settings
- Send transaction reports via email
- Set up alerts for specific events
- Schedule periodic reports
- Secure configuration storage

## Commands

### `near-email setup [options]`
Configure email settings.

**Options:**
- `--host <host>` - SMTP server host
- `--port <port>` - SMTP server port (default: 587)
- `--user <user>` - SMTP username
- `--pass <pass>` - SMTP password
- `--from <email>` - From email address
- `--secure` - Use SSL/TLS (default: false)

**Example:**
```bash
near-email setup --host smtp.gmail.com --port 587 --user myemail@gmail.com --pass mypassword --from myemail@gmail.com
```

### `near-email report <account_id> [recipient]`
Send a transaction report for an account.

**Parameters:**
- `account_id` - NEAR account to report on
- `recipient` - Email recipient (optional, uses default)

### `near-email alert <account_id> <threshold> [recipient]`
Set up balance alert for an account.

**Parameters:**
- `account_id` - NEAR account to monitor
- `threshold` - Balance threshold (in NEAR)
- `recipient` - Email recipient (optional)

### `near-email schedule <account_id> <cron_expr> [recipient]`
Schedule periodic email reports.

**Parameters:**
- `account_id` - NEAR account to report on
- `cron_expr` - Cron expression (e.g., "0 9 * * *" for daily at 9am)
- `recipient` - Email recipient (optional)

## Configuration

Email settings are stored in `~/.near-email/config.json` with secure permissions.

## Requirements

- SMTP email account (Gmail, SendGrid, etc.)
- Node.js for running the scripts

## Notes

- For Gmail, use App Passwords: https://myaccount.google.com/apppasswords
- Configuration file is stored securely with limited permissions

## References

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


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/shaiss/near-email-reporter/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/shaiss/near-email-reporter/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing
Roles: Email Marketer, Growth Marketer, Marketing Analyst
Specialties: API
Tools: Gmail, Nodejs, SendGrid
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: aa53626dc28fbf6ab1381fa927b848dd3d2fdd6955ce88eb6192b8062b04dbf1
