Command Palette

Search for a command to run...

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

groundmail

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

Use when sending or integrating Groundmail transactional email: POST /emails, the official SDKs (Node, Python, Go, PHP, Laravel, Symfony Mailer, Ruby), SMTP…

groundmailот groundmail171 установка в других каталогах

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

Groundmail

Transactional email API on mail servers and IPs Groundmail owns and runs. Send with HTTP, an official SDK (Node, Python, Go, PHP, Ruby), SMTP or MCP.

Defaults

  1. Base URL https://api.groundmail.dev, auth Authorization: Bearer gm_…, key in env GROUNDMAIL_API_KEY (server-side only).
  2. Contract: https://docs.groundmail.dev/openapi.yaml · Index: https://docs.groundmail.dev/llms.txt · Full docs: https://docs.groundmail.dev/llms-full.txt
  3. Test on the user's own address first (sandbox below). Ask before emailing anyone else, adding a domain or touching billing.
  4. Send every email with an Idempotency-Key and reuse it on retries.
  5. On errors, branch on error.code and follow error.hint.
  6. No account yet: the user signs up free at https://app.groundmail.dev/signup?ref=plugin (test sends to your own address need nothing else; sending to anyone else needs billing set up in the dashboard, not charged on Free). Never create an account for them.
  7. Never ask for or accept payment card numbers, passwords, government ID numbers, health information or other sensitive personal data in chat; the user enters billing and account details only in the Groundmail dashboard.

Related skills: groundmail-mcp, groundmail-cli, email-best-practices.


Send: Node.js

import { Groundmail, GroundmailError } from 'groundmail'

const groundmail = new Groundmail(process.env.GROUNDMAIL_API_KEY!)

try {
  const result = await groundmail.emails.send({
    from: '[email protected]',
    to: '[email protected]',
    subject: 'Welcome',
    html: '<p>It works.</p>',
    idempotencyKey: `welcome-${user.id}`,
  })
  console.log(result.id, result.status)
} catch (error) {
  if (error instanceof GroundmailError) {
    console.error(error.status, error.code, error.message)
  }
  throw error
}

Install: npm install groundmail. The SDK throws GroundmailError (status, code, message, details); it does not return { data, error }.

Send: Go

go get github.com/Groundmail/groundmail-sdks/go
client, err := groundmail.New(os.Getenv("GROUNDMAIL_API_KEY"))
result, err := client.Emails.Send(map[string]any{
	"from": "[email protected]", "to": "[email protected]",
	"subject": "Welcome", "html": "<p>It works.</p>",
})

Import path: groundmail "github.com/Groundmail/groundmail-sdks/go".

Send: Python, PHP, Ruby

pip install groundmail                       # Python (Django backend: pip install 'groundmail[django]')
composer require groundmail/groundmail       # PHP
composer require groundmail/laravel          # Laravel (MAIL_MAILER=groundmail)
composer require groundmail/symfony-mailer   # Symfony Mailer transport
gem install groundmail                       # Ruby (Rails: bundle add groundmail)
tx = Groundmail(os.environ["GROUNDMAIL_API_KEY"])  # from groundmail import Groundmail
tx.emails.send(from_="[email protected]", to="[email protected]", subject="Welcome", html="<p>It works.</p>")
$tx = new \Groundmail\Client(getenv('GROUNDMAIL_API_KEY'));
$tx->emails->send(['from' => '[email protected]', 'to' => '[email protected]', 'subject' => 'Welcome', 'html' => '<p>It works.</p>']);
tx = Groundmail::Client.new(ENV.fetch("GROUNDMAIL_API_KEY")) # require "groundmail"
tx.emails.send(from: "[email protected]", to: "[email protected]", subject: "Welcome", html: "<p>It works.</p>")

Docs: https://docs.groundmail.dev/sdks/python · https://docs.groundmail.dev/sdks/php · https://docs.groundmail.dev/sdks/ruby · https://docs.groundmail.dev/frameworks/laravel · https://docs.groundmail.dev/frameworks/symfony. Any other language: use HTTP or SMTP.

Send: HTTP

curl -X POST https://api.groundmail.dev/emails \
  -H "Authorization: Bearer $GROUNDMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: welcome-8812" \
  -d '{"from":"[email protected]","to":"[email protected]","subject":"Welcome","html":"<p>It works.</p>"}'

Success: { "id": "msg_…", "status": "sent" } ("scheduled" with scheduled_at).

Canonical fields: from, to, cc, bcc, reply_to, subject, html, text, scheduled_at, attachments, tags, headers, template. Migration aliases (htmlBody, replyTo, …) are accepted, but generate canonical snake_case.

Send: SMTP

Host smtp.groundmail.dev, port 587 (STARTTLS), username groundmail, password an SMTP credential (gmsmtp_…) from the dashboard or POST /smtp-credentials. Same sandbox, domain and billing rules as the API.


Test sends (safe by default)

Stage from to Needs
Sandbox [email protected] The Groundmail account email only Nothing
Own domain, to self Address on a verified domain The account email only Verified domain
Production Address on a verified domain Anyone Verified domain + billing set up in the dashboard

Anything outside these r

Полный SKILL.md на ClawHub

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

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

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

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

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

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

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

FAQ

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

Use when sending or integrating Groundmail transactional email: POST /emails, the official SDKs (Node, Python, Go, PHP, Laravel, Symfony Mailer, Ruby), SMTP relay, gm_ API keys, sandbox test sends, domain verification, idempotency keys, error codes and hints, webhooks, suppressions, templates or the OpenAPI spec. Trigger whenever the user mentions Groundmail, groundmail, GROUNDMAIL_API_KEY, gm_ keys, api.groundmail.dev or mail.groundmail.dev.

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

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

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

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

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

Сравнить groundmail с