Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

unione

БесплатноБез исполняемых скриптовНе проверен

Use when working with the UniOne transactional email Web API — sending email (one call, up to 500 personalized recipients), templates and substitutions…

unioneот unione145 установок в других каталогах

Об этом скилле

UniOne

UniOne is a transactional email service. Web API: https://api.unione.io/en/transactional/api/v1 (an account registered on another datacenter uses its host: eu1.unione.io, us1.unione.io); every method is POST https://api.unione.io/en/transactional/api/v1/<method>.json?platform=skill with a JSON body and the X-API-KEY header (?platform=skill marks a direct HTTP call; an SDK sets its own). Keep the key in UNIONE_API_KEY, server-side only.

For actions in the user's account right now (send a test, check a domain, create a template) the UniOne MCP server https://mcp.unione.io/mcp gives the tools; this skill is for writing the integration code.

Quick send

Which package

Find the stack in the project and take the first matching row: on a framework install its package, not the bare SDK (it brings the SDK, configuration, the mailer and the webhook endpoint). Old runtimes (PHP 7.2, Node.js 14, Java 8, .NET Standard 2.0) need the older major (1.x) of the same package: Composer picks it by the PHP version itself, npm, NuGet and Maven need it set as in installation.md. Code and setup of every package: installation.md.

Project (detected by) Install
Laravel (laravel/framework in composer.json) composer require unione-repo/unione-laravel
Symfony (symfony/framework-bundle in composer.json) composer require unione-repo/unione-symfony-bundle
PHP, other (composer.json) composer require unione-repo/unione-php-sdk
Django (django dependency, manage.py) pip install unione-django
Flask (flask dependency) pip install unione-flask
FastAPI (fastapi dependency) pip install unione-fastapi
Python, other (pyproject.toml, requirements.txt) pip install unione-sdk
Express (express in package.json) npm install unione-express
NestJS (@nestjs/core in package.json) npm install unione-nestjs
Node.js, other (package.json) npm install unione
Ruby on Rails (rails in Gemfile) bundle add unione-rails
Ruby, other (Gemfile) bundle add unione
Go net/http (HTTP service on net/http, chi or gorilla/mux) go get github.com/unione-repo/unione-nethttp
Go, other (go.mod) go get github.com/unione-repo/unione-go-sdk
Spring Boot (spring-boot-starter-* dependency) Maven / Gradle io.unione:unione-spring-boot-starter
Java, other (pom.xml, build.gradle) Maven / Gradle io.unione:unione-java-sdk
ASP.NET Core (Microsoft.NET.Sdk.Web in *.csproj) dotnet add package UniOne.AspNetCore
.NET (C#), other (*.csproj) dotnet add package UniOne
axum (axum in Cargo.toml) cargo add unione-axum
Rust, other (Cargo.toml) cargo add unione-rust-sdk

Node.js

npm install unione
import { UniOneClient } from "unione";
import { MessageObjectRecipientsItem as Recipient } from "unione/api/email";

const client = new UniOneClient(process.env.UNIONE_API_KEY ?? "");

const { jobId } = await client.email.send({
  message: {
    recipients: [Recipient.fromAddress("Alex <[email protected]>")],
    from_email: "[email protected]",
    from_name: "Shop",
    subject: "Your order",
    body: { html: "<p>Hello, {{to_name}}! Your order has shipped.</p>" },
  },
});
console.log(jobId);

Python

pip install unione-sdk
import os

import unione
from unione.api.email import EmailSendRequest, MessageObject, MessageObjectRecipientsItem as Recipient
from unione.common import BodyObject

client = unione.client(os.environ["UNIONE_API_KEY"])

response = client.email.send(EmailSendRequest(
    message=MessageObject(
        recipients=[Recipient.from_address("Alex <[email protected]>")],
        from_email="[email protected]",
        from_name="Shop",
        subject="Your order",
        body=BodyObject.from_html("<p>Hello, {{to_name}}! Your order has shipped.</p>"),
    ),
))
print(response.job_id)

PHP

composer require unione-repo/unione-php-sdk
<?php

use UniOne\Api\Email\Model\EmailSendRequest;
use UniOne\Api\Email\Model\MessageObject;
use UniOne\Api\Email\Model\MessageObjectRecipientsItem as Recipient;
use UniOne\Client\ApiException;
use UniOne\Common\Model\BodyObject as Body;
use UniOne\UniOne;

$client = UniOne::client(getenv('UNIONE_API_KEY'));

try {
    $response = $client->email()->send(new EmailSendRequest(new MessageObject(
        recipients: [Recipient::fromAddress('Alex <[email protected]>')],
        body: Body::html('<p>Hello, {{to_name}}! Your order has shipped.</p>'),
        subject: 'Your order',
        fromEmail: '[email protected]',
        fromName: 'Shop',
    )));

    echo $response->jobId, PHP_EOL;
} catch (ApiException $e) {
    // the message: method, API error code, HTTP status and how to fix it; kind: what failed; retryable: a repeat may succeed
    echo $e->getMessage(), PHP_EOL;
    echo $e->getKind(), ' ', $e->isR
Полный SKILL.md на ClawHub

Установить unione в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл unione?

Use when working with the UniOne transactional email Web API — sending email (one call, up to 500 personalized recipients), templates and substitutions (simple, Velocity, Liquid), delivery webhooks, sending domains (DNS, DKIM), the sandbox domain and confirmed emails, suppressions and unsubscribes, event dumps, tags, projects and API keys, email validation, installing the UniOne SDK or a framework package, or sending through the UniOne SMTP relay (Nodemailer, Django, Laravel, PHPMailer, WordPress; options in the X-UNIONE header). Always use this skill when the user mentions UniOne, even for a simple "send an email" — it holds the gotchas (one-minute idempotence window, partial acceptance in failed_emails, MD5 webhook signature, sandbox limits) that break production integrations.

Как установить скилл unione?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл unione запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить unione с