Docs → Newsletter Templates
Personalize the emails sent to your subscribers
Overview
With a paid subscription, you can fully customize the HTML email template that gets sent to your newsletter subscribers when you publish a new post. Use placeholder tags to dynamically insert post content, your author info, and more.
Access this feature from Profile Settings → Custom Domain section → Newsletter Email Template.
Placeholder Tags
Use these tags in your HTML template. They will be replaced with actual content when the email is sent:
Tag Reference
{{title}} — Post title (plain text){{excerpt}} — Post excerpt, max 300 characters{{content}} — Content preview, max 500 characters{{authorName}} — Your display name{{authorPhoto}} — URL to your profile photo{{postUrl}} — Full URL to read the post{{postColor}} — Post's accent color (hex, e.g. #4D96FF){{unsubscribeUrl}} — Unsubscribe link (required)Snake_case versions are also supported: {{post_url}}, {{author_name}}, etc.
Unsubscribe Link Requirement
Your template must include the {{unsubscribeUrl}} placeholder. This is required for email compliance (CAN-SPAM, GDPR). Templates without this tag will be rejected.
<a href="{{unsubscribeUrl}}">Unsubscribe</a>Example Template
Here's a minimal example you can customize. For best email client compatibility, use table-based layouts:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
</head>
<body style="margin: 0; background: #fcfcfc;">
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#fcfcfc">
<tr>
<td align="center" style="padding: 56px 24px;">
<table width="100%" cellpadding="0" cellspacing="0" style="max-width: 520px; font-family: Inter, -apple-system, 'Segoe UI', Roboto, sans-serif;">
<!-- Author -->
<tr><td style="padding-bottom: 20px; font-size: 14px; font-weight: 500; color: #171717;">
<img src="{{authorPhoto}}" width="24" height="24" alt="" style="border-radius: 50%; vertical-align: middle; margin-right: 8px;">{{authorName}}
</td></tr>
<!-- Post -->
<tr><td style="padding-bottom: 20px; font-size: 26px; font-weight: 500; line-height: 1.3;">
<a href="{{postUrl}}" style="color: #171717; text-decoration: none;">{{title}}</a>
</td></tr>
<tr><td style="padding-bottom: 32px; font-size: 16px; line-height: 1.7; color: #6f6f6f;">{{excerpt}}</td></tr>
<tr><td style="padding-bottom: 56px; font-size: 15px; font-weight: 500;">
<a href="{{postUrl}}" style="color: #171717; text-decoration-color: {{postColor}};">Keep reading →</a>
</td></tr>
<!-- Footer -->
<tr><td style="border-top: 1px solid #e5e5e5; padding-top: 24px; font-size: 12px; color: #6f6f6f;">
<a href="{{unsubscribeUrl}}" style="color: #6f6f6f;">Unsubscribe</a>
</td></tr>
</table>
</td>
</tr>
</table>
</body>
</html>Tips for Email Templates
How to Set Your Template
Your custom template will be used for all future newsletter emails. You can reset to the default at any time.