billionmail

billionmail is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 44 tokens per session (2,804 once invoked), scanned C, original, MIT.

A self-hosted email platform for newsletters, marketing campaigns, and automatic service emails. Self-hosted means you run it on your own server instead of relying on a hosted provider.

In plain words
What is it for?
It helps run SMTP email delivery, create campaigns and templates, send transactional emails through an API or webhook, and review opens, clicks, bounces, and unsubscribes.
Why use it?
It brings sending, subscriber management, unsubscribe handling, bounce handling, and delivery statistics into one system you operate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps run SMTP email delivery, create campaigns and templates, send transactional emails through an API or webhook, and review opens, clicks, bounces, and unsubscribes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/billionmail
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add znlgis/opengis-skills --skill billionmail
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for billionmail

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/billionmail/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/billionmail)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/billionmail"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/billionmail/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for billionmail

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/billionmail"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/billionmail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,804 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.02804
Opus 5 $0.00022 $0.01402
Sonnet 5 $0.00009 $0.00561
Haiku 4.5 $0.00004 $0.00280

Measured yesterday against content hash c587cde46c6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

billionmail scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSL https://www.billionmail.com/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sSL https://www.billionmail.com/install.sh | bash
others/billionmail/SKILL.md · 319 lines

How it starts

The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://github.com/Billionmail/BillionMail

官网: https://www.billionmail.com/

官方文档: https://docs.billionmail.com/

许可证: AGPL-3.0(社区版)

概述

BillionMail 主要能力:

  • 多域名邮件服务器(Postfix + Dovecot)
  • 批量营销发送:分批限速、退订链接、SPF/DKIM/DMARC
  • 模板编辑器:拖拽 + 富文本 + 变量
  • 订阅者管理:分组、标签、导入/导出、退订列表
  • 触发邮件:API / Webhook 触发事务邮件
  • 送达率分析:点击/打开/退信/退订统计
  • WebMail:自带网页邮箱
  • 多用户 / 多租户

BillionMail 由宝塔面板团队(aaPanel)出品,强调开箱即用、面板化运维。


部署

Docker Compose(推荐)

git clone https://github.com/Billionmail/BillionMail
cd BillionMail
cp .env.example .env
# 编辑 .env:DOMAIN、DB 密码、MX/SMTP 配置等
docker compose up -d

一键脚本

curl -sSL https://www.billionmail.com/install.sh | bash

端口要求

端口 服务
25 / 587 / 465 SMTP
143 / 993 IMAP
110 / 995 POP3(可选)
80 / 443 Web 控制台 + WebMail

⚠️ 多数云厂商默认封锁 25/587 端口,需提交工单解封;建议使用海外 VPS 或专用邮件 IP。


DNS 配置

为发件域 mail.example.com 配置:

类型 主机
A mail <服务器 IP>
MX @ mail.example.com
TXT @ v=spf1 mx ip4:<IP> ~all
TXT default._domainkey v=DKIM1;k=rsa;p=...(管理后台生成)
TXT _dmarc v=DMARC1;p=quarantine;rua=mailto:...
PTR mail.example.com(联系机房设置反向解析)

控制台

访问 https://your-server/

  • 域名管理:添加发件域、生成 DKIM
  • 邮箱账户:创建邮箱、配额、SMTP/IMAP 密码
  • 订阅者:分组、字段、批量导入 CSV
  • 模板:邮件模板(HTML + 变量)
  • 任务:发送任务(即时 / 计划)
  • 统计:到达率、打开、点击、退订、退信
  • 设置:SMTP/反垃圾/限速/IP 池

创建发送任务

  1. 设置「发件人」「主题」
  2. 选择模板或新建(变量:{{name}}{{unsubscribe_url}}
  3. 选择订阅者分组(可定向标签)
  4. 限速(每分钟 N 封 / 每小时 N 封)
  5. 开始或计划发送

发送过程中实时显示成功/失败/退信。


API(事务邮件)

curl -X POST https://your-server/api/v1/mail/send \
  -H 'Authorization: Bearer <API_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": "[email protected]",
    "to":   ["[email protected]"],
    "subject": "欢迎注册",
    "template_id": 12,
    "variables": { "name": "张三" }
  }'

Webhook 回调:

Read the full file on GitHub · 319 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed c587cde46c6e
  2. 7d ago First seen · 319 lines · 44 tokens per session scan C 207e6ab29c31

Subscribe to this mod's changes

billionmail is a skill published in the GitHub repository znlgis/opengis-skills (60 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 2,804 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.