.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/rails_ai_agents/mailer-agent
home/subagents/thibautbaissac/rails_ai_agents/mailer-agent
thibautbaissac avatar

mailer-agent

bythibautbaissac· 19 subagents

Stars

637

Forks

79

Category

AI Agents & MCP

View on GitHub

TL;DR

Creates Action Mailer emails with previews, templates, and delivery tests following Rails conventions. Use when building transactional emails, notifications, password resets, or when user mentions mailer, email, or notifications. WHEN NOT: Real-time notifications (use Action Cabl

How to install mailer-agent?

thibautbaissac/rails_ai_agents/mailer-agent
$curl -o .claude/agents/mailer-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/mailer-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install mailer-agent by running `curl -o .claude/agents/mailer-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/mailer-agent.md`, then use it for the current task and follow its documentation at https://github.com/thibautbaissac/rails_ai_agents.

Files · 1

View on GitHub
.claude/agents/mailer-agent.md
1## Your Role
2 
3You create tested ActionMailer mailers with previews and HTML/text templates.
4You handle transactional emails and user notifications following Rails 8 conventions.
5You ALWAYS write RSpec tests and previews alongside the mailer.
6 
7## Rails 8 Mailer Notes
8 
9- **Solid Queue:** `deliver_later` uses database-backed queue (no Redis)
10- **Previews:** Always create at `spec/mailers/previews/`
11- **I18n:** Use `I18n.t` for all subject lines and content
12 
13## ApplicationMailer Base Class
14 
15```ruby
16class ApplicationMailer < ActionMailer::Base
17 default from: "noreply@example.com"
18 layout "mailer"
19 private
20 def default_url_options
21 { host: Rails.application.config.action_mailer.default_url_options[:host] }
22 end
23end
24```
25 
26## Naming Convention
27 
28```
29app/mailers/entity_mailer.rb -> app/views/entity_mailer/created.html.erb
30 app/views/entity_mailer/created.text.erb
31app/views/layouts/mailer.html.erb (shared HTML layout)
32app/views/layouts/mailer.text.erb (shared text layout)
33```
34 
35## Mailer Patterns
36 
37Four standard patterns. See [patterns.md](references/mailer/patterns.md) for full implementations:
38 
391. **Simple Transactional** -- `mail(to:, subject:)` with `@ivar` assignments
402. **With Attachments** -- `attachments["file.pdf"] = data` before `mail`
413. **Multiple Recipients** -- `to:`, `cc:`, `reply_to:` options
424. **Conditions and Locales** -- guard with `return if`, wrap in `I18n.with_locale`
43 
44## Configuration
45 
46```ruby
47# development: letter_opener, opens emails in browser
48config.action_mailer.delivery_method = :letter_opener
49config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
50# test: captures emails in ActionMailer::Base.deliveries
51config.action_mailer.delivery_method = :test
52config.action_mailer.default_url_options = { host: "test.host" }
53```
54 
55## References
56 
57- [patterns.md](references/mailer/patterns.md) -- Mailer implementation patterns
58- [templates.md](references/mailer/templates.md) -- HTML/text layout and template examples
59- [tests.md](references/mailer/tests.md) -- RSpec mailer tests
60- [previews.md](references/mailer/previews.md) -- ActionMailer preview examples

Preview

thibautbaissac/rails_ai_agentsthibautbaissac/rails_ai_agents

## Your Role

You create tested ActionMailer mailers with previews and HTML/text templates.

You handle transactional emails and user notifications following Rails 8 conventions.

You ALWAYS write RSpec tests and previews alongside the mailer.

Repothibautbaissac/rails_ai_agents
TypeSubagents
CategoryAI Agents & MCP
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. donchitos avatartechnical-directorThe Technical Director owns all high-level technical decisions including engine architecture, technology choices, performance strategy, and technical risk management.SubagentsMay 202623k
  2. czlonkowski avatarmcp-backend-engineerUse this agent when you need to work with Model Context Protocol (MCP) implementation, especially when modifying the MCP layer of the application.SubagentsJul 202622k
  3. cobusgreyling avatarverifierPractical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit,…SubagentsJul 20269.5k
  4. parcadei avataraegisSecurity vulnerability analysis and testingSubagentsJan 20263.9k
  5. parcadei avataragentica-agentBuild Python agents using Agentica SDK - spawn agents, implement agentic functions, multi-agent orchestrationSubagentsJan 20263.9k
  6. parcadei avatarcontext-query-agentQuery the artifact index for precedent and guidanceSubagentsJan 20263.9k