Implements transactional emails with Action Mailer and TDD. Use when creating email templates, notification emails, password resets, email previews, or when user mentions mailer, email, notifications, or transactional emails.
90
88%
Does it follow best practices?
Impact
95%
1.25xAverage score across 3 eval scenarios
Passed
No known issues
TDD mailer workflow and delivery
Spec file created
100%
100%
type: :mailer tag
100%
100%
Subject uses I18n
0%
100%
Header assertions
100%
100%
HTML body tested
100%
100%
Text body tested
100%
100%
have_enqueued_mail used
0%
100%
deliver_later used
100%
100%
Both templates present
100%
100%
Mailer inherits ApplicationMailer
100%
100%
Preview file created
100%
100%
FactoryBot in preview
0%
0%
I18n localization for emails
I18n.with_locale wrapping
83%
100%
Relative t() for subject
0%
100%
t() in HTML template
60%
100%
t() in text template
60%
100%
English locale file location
100%
100%
Second locale file present
100%
100%
Locale YAML structure
100%
100%
deliver_later used
100%
100%
Both templates present
100%
100%
Mailer inherits ApplicationMailer
100%
100%
No hardcoded subject string
100%
100%
ApplicationMailer setup and conditional email
ApplicationMailer from address
100%
100%
ApplicationMailer layout
100%
100%
ApplicationMailer base class
100%
100%
after_action log callback
50%
100%
Email layout file
100%
100%
Layout max-width 600px
100%
100%
Layout .button class
0%
100%
Layout .footer section
0%
100%
Conditional early return
100%
100%
find_each with batch_size
70%
100%
deliver_later in bulk
100%
100%
Digest mailer inherits ApplicationMailer
100%
100%
Both templates present
100%
100%
t() for subject in digest
0%
0%
15fdeaf
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.