Email templates in Salesforce Marketing Cloud Email Studio offer a quick and scalable way to build beautiful, responsive, and branded emails. Templates save time, ensure design consistency, and allow teams to collaborate more efficiently.
In this blog, weβll explore all four types of templates available in SFMC:
- Basic Templates
- Empty Templates
- Themed Templates
- Saved Templates
Weβll also provide AMPscript, HTML/CSS, SQL, and API examples wherever relevant.
πΉ Basic Templates
Basic templates are pre-designed layouts with a balance of content and design. Theyβre ideal for marketers who want a ready-to-use format.
Examples:
- 1-3-1 Column Image
- Hero 1-2-3 Column
- Hero 1-3 Column
- Hero 1-3-2 Column
β Use Cases:
- Newsletters (e.g., 1-3-1 Column Image for multi-topic updates)
- Promotional Emails with CTAs (Hero 1 Column + Buttons)
- Event Announcements
π§© How to Use:
- Drag and drop content blocks into sections
- Modify button links, images, and texts
- Personalize with AMPscript:
%%[SET @name = FirstName]%%
<p>Hello %%=v(@name)=%%, welcome to our weekly deals!</p>
πΉ Empty Templates
Empty templates are layout frameworks without any design or branding. They are perfect for designers and developers who want full control.
Examples:
- Blank Page
- Left Sidebar 3 Row
- Basic 2 Column
β Use Cases:
- Custom Branded Emails
- Transactional Emails using REST API
- Template Prototyping
π§© How to Use:
- Add HTML blocks with your code
- Apply custom CSS for styling
<table width="100%" style="font-family: Arial;">
<tr><td><h1>Welcome to Our Store!</h1></td></tr>
</table>
π Integration with AMPscript
You can inject personalized data like this:
%%[SET @product = AttributeValue("LastProductViewed")]%%
<p>You may also like: %%=v(@product)=%%</p>
πΉ Themed Templates
These templates are styled with color schemes and industry-specific layouts.
Examples:
- Business 1, 2, 3
- Featured Newsletter 1, 2, 3
- Financial Services 1, 2
β Use Cases:
- Financial Updates for banking, insurance
- Corporate Communication
- Product Launches with banners + CTAs
π‘ Bonus: Built-in responsive design
These templates are mobile-friendly out of the box. You can edit them using the visual editor without touching code.
πΉ Saved Templates
Saved templates are custom layouts you or your team have saved after design.
β Use Cases:
- Reusable Campaign Templates
- Seasonal Designs (e.g., Black Friday, Summer Sale)
- Brand Guidelines Compliance
π§© Advanced Use Case β Use in API
Using the Email REST API:
POST /messaging/v1/email/messages
{
"definitionKey": "my-saved-template",
"recipients": [
{
"contactKey": "12345",
"to": "user@example.com",
"attributes": {
"FirstName": "Suhas",
"CouponCode": "SAVE20"
}
}
]
}
π SQL Query Use Case
Identify top-performing Email Templates by EmailID:
SELECT EmailID, COUNT(*) AS TotalSends
FROM _Job
GROUP BY EmailID
ORDER BY TotalSends DESC
π¨ Styling with CSS
In Blank or Empty templates, add inline or embedded CSS:
<style>
h1 { color: #333; font-size: 28px; }
.btn { background-color: #007bff; color: #fff; padding: 10px; }
</style>
β Best Practices
- Use Themed templates if you want quick, professional layouts.
- Use Empty templates if you have in-house designers or strict branding.
- Use Saved templates for efficiency and consistency.
- Always test with Preview & Test tab to ensure mobile responsiveness.