搜索

PythonReactSEOPDF
OpenClaw

truncus-email

Send transactional emails (alerts, reports, receipts, notifications) via the Truncus API. Use when a workflow needs to deliver email to a recipient.

codevanmoose0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install codevanmoose/truncus-email

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Truncus Email

Truncus is a transactional email API for delivering alerts, reports, receipts, and notifications. EU-native infrastructure (AWS SES eu-west-1), deterministic delivery with idempotency enforcement and full event tracing.

When to Use

Use this skill when a workflow needs to send email: system alerts, generated reports, order receipts, password resets, onboarding sequences, monitoring notifications, or any programmatic email delivery.

Authentication

Truncus uses Bearer token authentication. The API key is read from the TRUNCUS_API_KEY environment variable.

Header format:

Authorization: Bearer <TRUNCUS_API_KEY>

API keys use the prefix tr_live_ followed by 64 hex characters. If the key is missing, malformed, or revoked, the API returns HTTP 401 with an error code (MISSING_API_KEY, INVALID_API_KEY, or API_KEY_REVOKED).

Send Endpoint

POST https://truncus.co/api/v1/emails/send
Required Headers
Header Value Required
Authorization Bearer <TRUNCUS_API_KEY> Yes
Idempotency-Key Unique string per send attempt Yes
Content-Type application/json Yes

The Idempotency-Key header is mandatory. Requests without it receive HTTP 400 with code MISSING_IDEMPOTENCY_KEY. If a duplicate key is submitted, the API returns the original message without re-sending (status duplicate).

Required Body Fields
Field Type Description
to string Recipient email address (single address)
from string Sender address (must be a verified domain)
subject string Email subject line (non-empty)

At least one of html, react, or template_id must be prov...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/codevanmoose/truncus-email
Version
1.0.0
Commit
c57c3f631c0873dd473ab6eed5fdd45266648073
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

truncus-email

OpenClaw skill for sending transactional emails through the Truncus API.

5-Second Demo

You: "Send an alert email to ops@acme.com that the staging database is running low on disk space."

Agent: Sent email to ops@acme.com with subject "Alert: Staging database disk space low" via Truncus. Message ID: clxyz123.

What It Does

  • Sends transactional emails (alerts, reports, receipts, notifications) via a single REST endpoint
  • Enforces idempotency on every send to prevent duplicates
  • Supports HTML and plain text bodies, attachments, CC/BCC, scheduled sending
  • Validates requests locally before calling the API
  • Simulates sends when no API key is configured (local dev mode)
  • Handles rate limits and retries automatically

Install

Clone into your OpenClaw skills directory:

git clone https://github.com/vanmoose/truncus-openclaw-skill.git ~/.openclaw/skills/truncus-email

Or add to a workspace:

git clone https://github.com/vanmoose/truncus-openclaw-skill.git skills/truncus-email

No dependencies. No build step. The skill is a single SKILL.md file.

Get an API Key

  1. Go to https://truncus.co
  2. Create an account (3,000 emails/month free, no credit card required)
  3. Generate an API key with the send scope (and read_events if you want delivery tracking)
  4. Set it in your environment:
export TRUNCUS_API_KEY="tr_live_your_key_here"

Local Dev Mode

If TRUNCUS_API_KEY is not set, the skill simulates email sends without calling the API. It prints the payload that would be sent and returns a mock success. Useful for testing workflows before going live.

Example Use Cases

  • Monitoring alert: "Email the on-call team that API latency exceeded 500ms"
  • Generated report: "Build a weekly revenue summary table and email it to finance@company.com"
  • User notification: "Send a welcome email to the new signup with their account details"
  • **Incident response...

来源内容

SKILL.md
# Truncus Email

Truncus is a transactional email API for delivering alerts, reports, receipts, and notifications. EU-native infrastructure (AWS SES eu-west-1), deterministic delivery with idempotency enforcement and full event tracing.

## When to Use

Use this skill when a workflow needs to send email: system alerts, generated reports, order receipts, password resets, onboarding sequences, monitoring notifications, or any programmatic email delivery.

## Authentication

Truncus uses Bearer token authentication. The API key is read from the `TRUNCUS_API_KEY` environment variable.

**Header format:**

```
Authorization: Bearer <TRUNCUS_API_KEY>
```

API keys use the prefix `tr_live_` followed by 64 hex characters. If the key is missing, malformed, or revoked, the API returns HTTP 401 with an error code (`MISSING_API_KEY`, `INVALID_API_KEY`, or `API_KEY_REVOKED`).

## Send Endpoint

```
POST https://truncus.co/api/v1/emails/send
```

### Required Headers

| Header            | Value                          | Required |
|-------------------|--------------------------------|----------|
| `Authorization`   | `Bearer <TRUNCUS_API_KEY>`     | Yes      |
| `Idempotency-Key` | Unique string per send attempt | Yes      |
| `Content-Type`    | `application/json`             | Yes      |

The `Idempotency-Key` header is **mandatory**. Requests without it receive HTTP 400 with code `MISSING_IDEMPOTENCY_KEY`. If a duplicate key is submitted, the API returns the original message without re-sending (status `duplicate`).

### Required Body Fields

| Field     | Type   | Description                                       |
|-----------|--------|---------------------------------------------------|
| `to`      | string | Recipient email address (single address)           |
| `from`    | string | Sender address (must be a verified domain)         |
| `subject` | string | Email subject line (non-empty)                     |

At least one of `html`, `react`, or `template_id` must be prov...
README
# truncus-email

OpenClaw skill for sending transactional emails through the Truncus API.

## 5-Second Demo

> **You:** "Send an alert email to ops@acme.com that the staging database is running low on disk space."
>
> **Agent:** Sent email to ops@acme.com with subject "Alert: Staging database disk space low" via Truncus. Message ID: `clxyz123`.

## What It Does

- Sends transactional emails (alerts, reports, receipts, notifications) via a single REST endpoint
- Enforces idempotency on every send to prevent duplicates
- Supports HTML and plain text bodies, attachments, CC/BCC, scheduled sending
- Validates requests locally before calling the API
- Simulates sends when no API key is configured (local dev mode)
- Handles rate limits and retries automatically

## Install

Clone into your OpenClaw skills directory:

```bash
git clone https://github.com/vanmoose/truncus-openclaw-skill.git ~/.openclaw/skills/truncus-email
```

Or add to a workspace:

```bash
git clone https://github.com/vanmoose/truncus-openclaw-skill.git skills/truncus-email
```

No dependencies. No build step. The skill is a single `SKILL.md` file.

## Get an API Key

1. Go to [https://truncus.co](https://truncus.co)
2. Create an account (3,000 emails/month free, no credit card required)
3. Generate an API key with the `send` scope (and `read_events` if you want delivery tracking)
4. Set it in your environment:

```bash
export TRUNCUS_API_KEY="tr_live_your_key_here"
```

## Local Dev Mode

If `TRUNCUS_API_KEY` is not set, the skill simulates email sends without calling the API. It prints the payload that would be sent and returns a mock success. Useful for testing workflows before going live.

## Example Use Cases

- **Monitoring alert**: "Email the on-call team that API latency exceeded 500ms"
- **Generated report**: "Build a weekly revenue summary table and email it to finance@company.com"
- **User notification**: "Send a welcome email to the new signup with their account details"
- **Incident response...

相关技能

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...