简介
基于比特币闪电网络的匿名邮箱服务,零KYC注册,1000聪/年,适合AI代理接收2FA验证码和服务通知。
原始描述
Setup and use anonymous email accounts on LNemail.net using Bitcoin Lightning payments. Use when agents need email capabilities for 2FA, notifications, or co...
通过你的 Agent 添加
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: lnemail description: Setup and use anonymous email accounts on LNemail.net using Bitcoin Lightning payments. Use when agents need email capabilities for 2FA, notifications, or communication without KYC or personal information.
LNemail
Anonymous email accounts via Lightning Network. No KYC, no email required to sign up—just pay with Bitcoin.
Overview
LNemail provides fully functional email addresses for 1000 sats/year. Perfect for agents needing:
- 2FA code reception
- Anonymous communication
- Bitcoin/Lightning service notifications
- API-accessible email without identity requirements
Quick Start
1. Create Email Account
Create a Lightning invoice for email account creation:
# Create the account (returns payment hash)
curl -X POST https://lnemail.net/api/v1/email
# Response:
# {
# "payment_hash": "abc123...",
# "amount": 1000,
# "currency": "SATS"
# }
2. Pay with Lightning
# Get the invoice from payment status endpoint
curl -X GET https://lnemail.net/api/v1/payment/PAYMENT_HASH
# Response when pending:
# {
# "payment_hash": "abc123...",
# "status": "pending",
# "lightning_invoice": "lnbc10u1pj..."
# }
Pay the lightning_invoice using any Lightning wallet (e.g., Alby CLI):
npx @getalby/cli -c ~/.alby-cli/connection-secret.key pay-invoice \
-i "lnbc10u1pj..."
3. Retrieve Credentials
After payment confirms (~seconds), check status again:
curl -X GET https://lnemail.net/api/v1/payment/PAYMENT_HASH
# Response when paid:
# {
# "payment_hash": "abc123...",
# "status": "paid",
# "email": "abc123@lnemail.net",
# "access_token": "eyJhbG..."
# }
Save these credentials! Store them securely (e.g., ~/.lnemail/credentials.json).
Using Your Email
Check Inbox
curl -X GET https://lnemail.net/api/v1/emails \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
# Response:
# [
# {
# "id": "msg_123",
# "from": "sender@example.com",
# "subject": "Your 2FA Code",
# "received_at": "2024-01-15T10:30:00Z",
# "has_attachments": false
# }
# ]
Read Email Content
curl -X GET https://lnemail.net/api/v1/emails/EMAIL_ID \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
# Response:
# {
# "id": "msg_123",
# "from": "sender@example.com",
# "to": "abc123@lnemail.net",
# "subject": "Your 2FA Code",
# "body": "Your verification code is: 123456",
# "received_at": "2024-01-15T10:30:00Z"
# }
Note: HTML content is stripped for security; emails are plain text only.
Send Email
Sending requires a Lightning payment (~100 sats per email):
# Create send request
curl -X POST https://lnemail.net/api/v1/email/send \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{
"recipient": "example@example.com",
"subject": "Hello",
"body": "Message content here"
}'
# Response:
# {
# "payment_hash": "def456...",
# "amount": 100,
# "currency": "SATS"
# }
Pay the invoice, then check status:
curl -X GET https://lnemail.net/api/v1/email/send/status/PAYMENT_HASH
# Response when paid:
# {
# "payment_hash": "def456...",
# "status": "paid",
# "message_id": "msg_sent_789"
# }
API Reference
| Endpoint | Method | Auth | Description |
|---|---|---|---|
/email |
POST | No | Create account (returns payment hash) |
/payment/{hash} |
GET | No | Check account payment status |
/emails |
GET | Bearer | List inbox messages |
/emails/{id} |
GET | Bearer | Get message content |
/email/send |
POST | Bearer | Create send request (returns payment hash) |
/email/send/status/{hash} |
GET | No | Check send payment status |
Storage Recommendation
Store credentials in ~/.lnemail/credentials.json:
{
"email": "abc123@lnemail.net",
"access_token": "eyJhbG..."
}
Note: The access_token is the only credential needed for ongoing operations. The payment_hash is only used during initial setup to check payment status — once you have the access_token, it can be discarded.
Pricing
| Service | Cost |
|---|---|
| Email account (1 year) | 1000 sats |
| Send email | ~100 sats |
| Receive email | Free |
Limitations
- Plain text only (HTML stripped)
- Small attachment support
- 100 sats per outgoing email
- Account valid for 1 year from payment
Use Cases
- 2FA reception: Reliable email delivery for verification codes
- Service notifications: Bitcoin/Lightning service alerts
- Anonymous signup: Services requiring email without identity link
- Agent-to-agent comms: Programmatic email between agents
References
- LNemail: https://lnemail.net
- API Docs: https://lnemail.net (see homepage for full docs)
- Auth: Bearer token in
Authorizationheader
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。