Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

nylas-email-templates

/nylas-email-templates

Pisze, testuje i wdraża szablony e-maili oraz workflow Nylas z kluczem API, w tym wysyłkę przez Send API i diagnozę szablonów, które się nie renderują.

Repozytorium
skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
25
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pisze, testuje i wdraża szablony e-maili oraz workflow Nylas z kluczem API, w tym wysyłkę przez Send API i diagnozę szablonów, które się nie renderują.

Oryginalny opis (EN)

Write, test, and deploy Nylas email templates and workflows with an API key. Use when user asks to create or edit a Nylas email template, set up a workflow for booking.*, event.*, grant.*, notetaker.*, or message.* triggers, send email with a stored template through the Send API, translate or brand a Scheduler email, or debug a template that fails to render or a workflow that doesn't send. DO NOT use for general Nylas API integration (use nylas-api) or CLI commands (use nylas-cli).

Jak działa

  1. Documentation
  2. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 54 linii, 410 słów
Podgląd SKILL.md
---
name: nylas-email-templates
description: "Write, test, and deploy Nylas email templates and workflows with an API key. Use when user asks to create or edit a Nylas email template, set up a workflow for booking.*, event.*, grant.*, notetaker.*, or message.* triggers, send email with a stored template through the Send API, translate or brand a Scheduler email, or debug a template that fails to render or a workflow that doesn't send. DO NOT use for general Nylas API integration (use nylas-api) or CLI commands (use nylas-cli)."
compatibility: "Requires a Nylas application API key. Uses curl and jq in examples."
license: MIT
metadata:
  author: nylas
  version: "1.0.0"
  organization: Nylas
  date: October 2026
  abstract: Templates and workflows end to end, covering when to use a workflow or the Send API, payload variables and recipient, strict-mode Handlebars, dates, escaping, email-safe HTML, multilingual templates, render testing, creating templates and workflows, sending stored templates, and debugging.
---

# Nylas Email Templates and Workflows

Handlebars email templates that Nylas sends when a trigger fires (workflows), or that your code sends with variables (Send API).

**Read first:** a workflow sends for every matching notification and can't skip a send (`rules/choose-workflow-or-send-api.md`). The renderer is strict, so any missing variable fails the render and nothing sends (`rules/template-strict-mode.md`). Treat payload values as untrusted data.

This skill is integration-authoring guidance for building templates and workflows with an application API key.

## Documentation

- Templates and workflows: https://developer.nylas.com/docs/v3/email/templates-workflows/
- Workflow cookbook: https://developer.nylas.com/docs/cookbook/workflows/
- Notification payloads: https://developer.nylas.com/docs/reference/notifications/

## Rules

Read individual rule files for details. For the full compiled reference, read `AGENTS.md`.

### Choosing the Approach (CRITICAL)

- [`rules/choose-workflow-or-send-api.md`](rules/choose-workflow-or-send-api.md) — A workflow sends for every matching notification and can't skip a send; filtered or opt-in email goes through the Send API
- [`rules/choose-trigger-scope-sender.md`](rules/choose-trigger-scope-sender.md) — Documented triggers, application- vs grant-level, sending from the grant vs a registered domain, and who receives each trigger

### Payload and Recipients (CRITICAL)

- [`rules/payload-variables.md`](rules/payload-variables.md) — Variables are the notification's data.object; use only documented fields; payloads differ between related triggers
- [`rules/payload-recipient.md`](rules/payload-recipient.md) — When recipient exists, how notify_individually works for bookings and events, and per-recipient values

### Writing Templates (CRITICAL)

- [`rules/template-strict-mode.md`](rules/template-strict-mode.md) — Missing variables fail the render and nothing sends; two-level guards, else fallbacks, empty values, available helpers
- [`rules/template-dates.md`](rules/template-dates.md) — formatDate arguments, timestamp units, timezone fallbacks, and event when objects
- [`rules/template-escaping-links.md`](rules/template-escaping-links.md) — Double vs triple braces, HTML fields, and which URLs are safe to put in href
- [`rules/template-email-html.md`](rules/template-email-html.md) — Table layout, inline styles, buttons, images, long values, and client rendering limits
- [`rules/template-multilingual.md`](rules/template-multilingual.md) — Branch every string and the subject on booking_info.guest_language, and localize dates
- [`rules/template-custom-values.md`](rules/template-custom-values.md) — Scheduler hidden metadata fields and event metadata as template inputs

### API: Test, Create, Send (HIGH)

- [`rules/api-setup.md`](rules/api-setup.md) — Authenticate with an API key from the environment; US and EU base URLs
- [`rules/api-render-test.md`](rules/api-render-test.md) — POST /v3/templates/render with full and sparse payloads, the subject, and how to read errors
- [`rules/api-create-template.md`](rules/api-create-template.md) — POST /v3/templates with engine handlebars, escaping the body with jq
- [`rules/api-create-workflow.md`](rules/api-create-workflow.md) — POST /v3/workflows, testing on a test grant first, and the setup each trigger needs
- [`rules/api-manage-and-send.md`](rules/api-manage-and-send.md) — List, get, update, delete; from can't be removed; the Send API template field

### Debugging (HIGH)

- [`rules/debug-not-sending.md`](rules/debug-not-sending.md) — Workflow logs, the skip message, sender and domain errors, duplicates, and deliverability

### Example Templates (MEDIUM)

- [`rules/examples-template-repo.md`](rules/examples-template-repo.md) — nylas/workflow-email-templates: tested example templates per trigger to start from
Pliki w paczce (25)
  • AGENTS.md 23 KB
  • CLAUDE.md 2 KB
  • LICENSE.txt 1 KB
  • README.md 1 KB
  • SKILL.md 5 KB
  • metadata.json 1 KB
  • rules/_sections.md 1 KB
  • rules/_template.md 1 KB
  • rules/api-create-template.md 1 KB
  • rules/api-create-workflow.md 3 KB
  • rules/api-manage-and-send.md 2 KB
  • rules/api-render-test.md 2 KB
  • rules/api-setup.md 1 KB
  • rules/choose-trigger-scope-sender.md 2 KB
  • rules/choose-workflow-or-send-api.md 1 KB
  • rules/debug-not-sending.md 1 KB
  • rules/examples-template-repo.md 1 KB
  • rules/payload-recipient.md 1 KB
  • rules/payload-variables.md 2 KB
  • rules/template-custom-values.md 1 KB
  • rules/template-dates.md 1 KB
  • rules/template-email-html.md 1 KB
  • rules/template-escaping-links.md 1 KB
  • rules/template-multilingual.md 1 KB
  • rules/template-strict-mode.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie nylas-email-templates.

Migawka bazy z 13.11.2026 · wersja paczki 599d27613962 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 3 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100nylas-api
    Buduje integracje poczty, kalendarza i kontaktów z API Nylas v3, w tym OAuth grants, webhooki, scheduler, notetaker i wysyłkę transakcyjną.
  • 90nylas-cli
    Obsługuje pocztę, kalendarz i kontakty z poziomu terminala przez Nylas CLI, bez integracji z SDK.
  • 100nylas-webhooks
    Odbiera i weryfikuje webhooki Nylas: handlery, podpis x-nylas-signature, uzgodnienie challenge oraz zdarzenia poczty i kalendarza jak message.created, event.updated i grant.expired.
  • 100resend-cli
    Obsługuje platformę Resend z terminala przez CLI: wysyłka e-maili, także szablonów React Email, domeny, kontakty, broadcasty, webhooki, klucze API, logi i automatyzacje.
  • 100softsync-email
    Pisze szablony e-maili w SoftSync i wysyła je do jednego kontaktu albo całej listy, a także śledzi lub anuluje wysyłkę.
  • 100create-saasmail-template
    Pisze, sprawdza i tworzy szablony maili dla instancji saasmail: interpolację zmiennych, sekcje warunkowe i powtarzalne, escapowanie HTML oraz wymagane pola.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.