Skip to content

[WEBSITE-723] Add a Personal email template so founder emails don't look like marketing - #83

Merged
zackkatz merged 1 commit into
developfrom
feature/website-723-personal-template
Dec 4, 2026
Merged

zackkatz merged 1 commit into
developfrom
feature/website-723-personal-template

Conversation

@zackkatz

@zackkatz zackkatz commented Dec 4, 2026

Copy link
Copy Markdown
Member

A founder check-in sent from a FluentCRM automation arrived looking like marketing: the footer with the mailing address and unsubscribe links, a List-Unsubscribe header that makes Gmail show "Unsubscribe" next to the sender, an open-tracking pixel, and links rewritten through click tracking. FluentCRM's template picker now has a Personal template. An email using it goes out as the body and preheader only, with no footer, no List-Unsubscribe header, no pixel and direct links, so it reads like a typed email.

For review: tracking is switched off in memory on the email's campaign inside fluentcrm_email_body_text, because FluentCRM adds click tracking and the pixel after that filter but before it renders the template. Check that nothing other than an email using the Personal template is affected.

Part of WEBSITE-723

What changed

  • New CustomCRM\Email\PersonalTemplate, registered next to FounderSender (filter customcrm/personal_template/enabled).
    • fluent_crm/email_design_templates adds gk_personal ("Personal") to the picker, with the Plain Left style config so the editor's style panel works.
    • fluent_crm/email-design-template-gk_personal renders a bare HTML document: the hidden preheader when set, then the parsed body. No footer, no "view in browser" link.
    • fluentcrm_email_body_text sets the campaign's open_tracker and click_tracker to no for a Personal email. Campaign::getOpenTrackingStatus() / getClickTrackingStatus() read those first.
    • fluent_crm/enable_unsub_header returns false for a Personal email.
  • The three kinds: marketing is any stock template, transactional is FluentCRM's "Mark This as a Transactional Email" checkbox, personal is this template.
  • AGENTS.md: a Personal email template section, including that the editor preview still draws FluentCRM's footer.

Blast radius

  • Touches: new filter customcrm/personal_template/enabled and template ID gk_personal (both new). Hooks into FluentCRM's fluent_crm/email_design_templates, fluent_crm/email-design-template-{id}, fluentcrm_email_body_text and fluent_crm/enable_unsub_header, read in FluentCRM 3.3.1 (production) and present in 3.3.5 (wordpress.org latest).
  • Used by: none outside fluent-crm-custom-features (used-by.sh, 0 hits).
  • Customer code: none found (IntelliKit threads, 0 conversations).
  • Docs: none (IntelliKit website, 0 matches).
  • Risk: Contained. Only emails whose campaign uses the Personal template change.

Release: none (internal gravitykit.com plugin; customers don't install it).

Tests

  • php84 vendor/bin/phpunit: 245 tests pass; the email tests also on PHP 7.4. Making the template never match its own emails fails 2 tests.
  • Real send on a local site with FluentCRM 3.3.5, through Mailer::send(), captured in Mailpit, one Personal email and one Simple Boxed control:
Simple Boxed Personal
List-Unsubscribe header yes none
Open pixel yes none
Click-tracking redirects yes none (link goes straight to gravitykit.com)
Footer and unsubscribe link yes none
Preheader, "Hi Sam" smartcode yes yes
  • Not verified yet: a Personal email from an automation on production. That runs after deploy.

Abilities: none. Internal site plumbing.

Screenshots

Template picker (Email-Body sidebar, second icon tab):

Template picker with Personal

Sent with the Personal template (Mailpit, browser default font; Gmail uses its own):

Personal email as received

Same email with Simple Boxed, for comparison:

Simple Boxed email as received

Founder check-ins sent from FluentCRM automations arrived with the marketing footer, an unsubscribe header that makes Gmail show an "Unsubscribe" link beside the sender, an open-tracking pixel and click-tracking redirects, so they read as marketing. A "Personal" template in FluentCRM's template picker sends the body and preheader only, leaves off the List-Unsubscribe header, and turns open and click tracking off for that email. Marketing stays any stock template; transactional stays FluentCRM's own checkbox.

Tracking is switched off in fluentcrm_email_body_text because FluentCRM adds click tracking before it renders the template.

Part of WEBSITE-723.
@linear-code

linear-code Bot commented Dec 4, 2026

Copy link
Copy Markdown

WEBSITE-723

@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 706fb3e1-5a29-4dbe-b520-ab5f2cfcd2ec

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@zackkatz
zackkatz merged commit 712c732 into develop Dec 4, 2026
2 checks passed
@zackkatz
zackkatz deleted the feature/website-723-personal-template branch December 4, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant