stacks-mail

Render application-level emails from STX and HTML templates with layouts.

622|17|Updated Apr 26, 2022
One-click install
npx skills add https://github.com/stacksjs/stacks --skill stacks-mail
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stacks-mail
Source: https://github.com/stacksjs/stacks/tree/main/.claude/skills/stacks-mail
Command: npx skills add https://github.com/stacksjs/stacks --skill stacks-mail

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines and renders application-level emails using template engines, enabling consistent content, layouts, and sending patterns.

Core Features & Use Cases

  • Template-driven mail content for app/Mail/ with STX and HTML templates.
  • Layouts and variable interpolation for personalized messages.
  • Reusable send patterns to standardize email delivery across the application.

Quick Start

Create a WelcomeEmail in app/Mail/ and invoke its send function to dispatch a sample message.

Frequently Asked Questions about stacks-mail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and send transactional emails using HTML templates?▼

Application-level emails are defined using STX or HTML templates with layouts and variable interpolation in app/Mail/, then dispatched via a centralized send function to standardize content and delivery patterns.

What's the best way to standardize email layouts for subscription confirmations?▼

Standardize subscription confirmation emails by applying reusable template layouts and variable interpolation in app/Mail/, which ensures consistent content structure and personalized messaging across all application mail workflows.

Can I use STX templates alongside HTML for application email rendering?▼

Yes, the email system supports both STX and HTML templates for rendering application-level mail, allowing you to leverage template-driven content and layouts for consistent messaging within your app.

Does sending welcome emails require a centralized mail workflow setup?▼

Sending welcome emails utilizes a centralized sending pattern built into the mail system, requiring template rendering utilities to standardize delivery and ensure consistent content across application-level email notifications.

When do I need variable interpolation in email templates?▼

Variable interpolation is needed when rendering personalized email content within STX or HTML templates, enabling dynamic data injection for messages like welcome emails and transactional notifications across your application.