groundmail
БесплатноБез исполняемых скриптовНе проверенUse when sending or integrating Groundmail transactional email: POST /emails, the official SDKs (Node, Python, Go, PHP, Laravel, Symfony Mailer, Ruby), SMTP…
от 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
- Base URL
https://api.groundmail.dev, authAuthorization: Bearer gm_…, key in envGROUNDMAIL_API_KEY(server-side only). - Contract: https://docs.groundmail.dev/openapi.yaml · Index: https://docs.groundmail.dev/llms.txt · Full docs: https://docs.groundmail.dev/llms-full.txt
- Test on the user's own address first (sandbox below). Ask before emailing anyone else, adding a domain or touching billing.
- Send every email with an
Idempotency-Keyand reuse it on retries. - On errors, branch on
error.codeand followerror.hint. - 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.
- 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic