Wheels Email Generator

Generate CFWheels mailer controllers and HTML and plain-text email templates.

203|108|Updated Jan 13, 2011
One-click install
npx skills add https://github.com/wheels-dev/wheels --skill wheels-email-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Wheels Email Generator
Source: https://github.com/wheels-dev/wheels/tree/main/.claude/skills/wheels-email-generator
Command: npx skills add https://github.com/wheels-dev/wheels --skill wheels-email-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the complex process of generating and configuring email functionality in CFWheels applications. It ensures proper email structure, responsive layouts, and robust testing for all your transactional and notification emails, saving you time and ensuring reliable delivery.

Core Features & Use Cases

  • Mailer Controller & Templates: Generates mailer controllers and both HTML and plain text email templates with responsive design best practices.
  • Flexible Configuration: Provides configuration examples for various SMTP providers (Gmail, SendGrid, Mailgun, AWS SES) and environment-specific settings.
  • Advanced Email Patterns: Includes guidance for file attachments, multiple recipients, and an email queue pattern for background processing.
  • Use Case: Implement a password reset email. This skill provides the mailer controller action, the HTML and plain text templates, and the configuration to send it via your chosen SMTP provider, ensuring a professional and functional email system.

Quick Start

In controllers/Mailer.cfc:

component extends="Controller" { function welcome(required user) { sendEmail( to = arguments.user.email, subject = "Welcome!", template = "mailer/welcome" ); } }

Frequently Asked Questions about Wheels Email Generator

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

FAQPage Schema
How do I send transactional emails in CFWheels applications?

Transactional emails in CFWheels are sent using mailer controllers with the sendEmail() function. This Skill generates the mailer controller, HTML and plain-text templates, and SMTP configuration needed to send consistent, template-driven messages like password resets and order confirmations reliably.

What SMTP providers can I configure for sending emails?

This Skill provides configuration examples for Gmail, SendGrid, Mailgun, and AWS SES, along with environment-specific settings. You choose your provider and apply the corresponding configuration to your CFWheels application.

Can I use HTML and plain text templates for emails?

Yes. This Skill generates both HTML and plain-text email templates with responsive design best practices, ensuring your emails render correctly across clients and devices while maintaining a plain-text fallback.

How do I generate dynamic email content like password reset links?

Template rendering with dynamic data is built into this Skill's mailer controller pattern. Pass user data to your template, and the controller automatically generates URLs and populates variables for password resets, welcome messages, and other transactional needs.

Does this Skill support advanced email features like attachments and multiple recipients?

Yes. Beyond basic mailer setup, this Skill includes guidance for file attachments, multiple recipients, and background email queue patterns for processing at scale without blocking application requests.

How can I test my transactional email implementation?

This Skill generates test-friendly email layouts and controllers that integrate with CFWheels testing patterns. You can verify mailer actions, template rendering, and configuration without sending actual emails.