Skip to content

PranavNagrecha/AwesomeSalesforceSkills / skills/admin/email-templates-and-alerts

email-templates-and-alerts

Verified

Use when designing, reviewing, or troubleshooting Salesforce email templates, email alerts, and declarative notification design. Triggers: 'Lightning Email Template', 'email alert', 'merge field', 'org-wide email', 'too many emails', 'mass email limit'. NOT for migrating Classic templates to Lightning — use admin/classic-email-template-migration. NOT for sending email from Apex — use apex/apex-outbound-email-patterns.

references/well-architected.md

View on GitHub
# Well-Architected Mapping: Email Templates and Alerts

## Pillars Addressed

### User Experience

Operational emails are part of the product experience.

- Clear sender identity and subject lines improve trust.
- Focused content reduces support follow-up and ignored notifications.

### Reliability

Users depend on transactional emails to reflect real business events.

- Strict trigger logic reduces duplicate or missing notifications.
- Correct merge context prevents broken content at the moment of action.

### Operational Excellence

Email sprawl becomes governance debt quickly.

- Template ownership and sender governance reduce chaos.
- Consolidating overlapping alerts keeps maintenance manageable.

## Pillars Not Addressed

- **Security** - this skill touches sender governance and compliance awareness, not deep auth design.
- **Performance** - email design is rarely a compute bottleneck; the bigger issue is automation discipline.

## Official Sources Used

- Salesforce Well-Architected Overview — operational and user-facing notification design framing
- Metadata API Developer Guide — email template and alert metadata deployment behavior
- Metadata API Developer Guide: EmailTemplate (types, `uiType`, subject limits, no wildcard retrieval; PDF v62) — https://resources.docs.salesforce.com/262/latest/en-us/sfdc/pdf/api_meta.pdf
- Metadata API Developer Guide: EmailTemplate — https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_emailtemplate.htm
- Object Reference: OrgWideEmailAddress (`IsVerified`, `Purpose`, `IsAllowAllProfiles`; PDF v62) — https://resources.docs.salesforce.com/262/latest/en-us/sfdc/pdf/object_reference.pdf
- Metadata API Developer Guide: WorkflowAlert / WorkflowEmailRecipient (`ccEmails` 5-address cap, `recipients`-or-`ccEmails` send requirement, `senderType` / `senderAddress` pairing, `DefaultWorkflowUser` → `CurrentUser` on package install, per-`type` companion-field rules; PDF v62) — https://resources.docs.salesforce.com/262/latest/en-us/sfdc/pdf/api_meta.pdf
- Metadata API Developer Guide: Folder (Classic `EmailFolder` vs Lightning `EmailTemplateFolder`, `email` vs `emailTemplates` directories, nested-folder trailing-slash rule, no wildcard support; PDF v62) — https://resources.docs.salesforce.com/262/latest/en-us/sfdc/pdf/api_meta.pdf
- Object Reference: EmailTemplate (`FolderId` polymorphic to Folder/Organization/User, `HtmlValue` 384 KB limit, `TimesUsed` Classic-only, `IsActive`, `TemplateType`, `UIType`; PDF v62) — https://resources.docs.salesforce.com/262/latest/en-us/sfdc/pdf/object_reference.pdf
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 323kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall