Skip to main content
We're back ✨See what's new
🍱

Docs → Newsletter Templates

Custom Newsletter Email 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:

{{title}}{{excerpt}}{{content}}{{authorName}}{{authorPhoto}}{{postUrl}}{{postColor}}{{unsubscribeUrl}}

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 &rarr;</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

  • Use inline styles — most email clients strip <style> tags
  • Use table layouts — flexbox and grid aren't well supported
  • Keep it under 50KB — large emails may be clipped
  • Test with multiple email clients (Gmail, Outlook, Apple Mail)
  • Use web-safe fonts or system font stacks
  • Keep a light background with dark text — Gmail's dark mode ignores your CSS and inverts the colours itself, so dark buttons and dark logos can disappear
  • Always include alt text for images

How to Set Your Template

  1. Go to your Dashboard
  2. Click the settings icon (gear) to open Profile Settings
  3. Scroll to the Custom Domain section
  4. Expand "Newsletter Email Template"
  5. Click "Load Default" to start with our template, or paste your own
  6. Click "Save Template"

Your custom template will be used for all future newsletter emails. You can reset to the default at any time.

Copyright © 2026 Bublr
Home · About · Explore · Compare · Changelog · API Docs · Terms · Privacy