All skills

Email sending patterns for The Boring JavaScript Stack — sails-hook-mail configuration, EJS templates, SMTP/Resend transports, and transactional email patterns. Use this skill when configuring mail, writing email templates, or sending transactional emails in a Sails.js application.

Use this Skill: https://skilld.dev/gh/sailscastshq/boring-stack/email

This session only. Nothing lands on disk.

SKILL.md

≈73 tokens always: the name and description. ≈370 when used: this file. ≈25k more on demand in 7 files.

Email

The Boring JavaScript Stack uses sails-hook-mail for email delivery. It provides a simple API for sending emails through configurable transports (SMTP, Resend, log) with EJS-based templates and a shared layout system.

When to Use

Use this skill when:

  • Configuring sails-hook-mail in config/mail.js (transports, from address, mailers)
  • Writing EJS email templates in views/emails/
  • Using the shared email layout (views/layouts/layout-email.ejs)
  • Sending emails via sails.helpers.mail.send.with()
  • Setting up SMTP providers (Mailgun, SendGrid, AWS SES) or Resend
  • Implementing transactional email patterns (verification, password reset, magic links, 2FA codes)
  • Switching between log transport (development) and real transports (production)

Rules

Read individual rule files for detailed explanations and code examples:

Source: SKILL.md on GitHub

1 warning17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides secure, well-documented patterns for implementing transactional email functionality in Sails.js applications. It follows security best practices for secret management, token handling, and protection against common web vulnerabilities.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    8/8 files flagged

Signed by skilld at bf19e10. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 8 months ago
Other metadata
metadata
{
  "author": "sailscastshq",
  "version": "1.0.0",
  "tags": "email, mail, smtp, resend, templates, ejs, transactional, boring-stack"
}

README badge

README badge for sailscastshq/boring-stack/email