email

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "email" with this command: npx skills add sailscastshq/boring-stack/sailscastshq-boring-stack-email

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 Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

sails

No summary provided by upstream source.

Repository SourceNeeds Review
General

inertia

No summary provided by upstream source.

Repository SourceNeeds Review
General

realtime

No summary provided by upstream source.

Repository SourceNeeds Review