Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(workflows): turn off unlayer ai features in the email editor (#81966)

Harley Alexander7f1c8072b3f3
diff --git a/frontend/src/scenes/hog-functions/email-templater/EmailTemplater.tsx b/frontend/src/scenes/hog-functions/email-templater/EmailTemplater.tsx
index b65c064169ba..c324816cd568 100644
--- a/frontend/src/scenes/hog-functions/email-templater/EmailTemplater.tsx
+++ b/frontend/src/scenes/hog-functions/email-templater/EmailTemplater.tsx
@@ -188,6 +188,10 @@ function DestinationEmailTemplaterForm({
preview: true,
imageEditor: true,
stockImages: false,
+ // Unlayer's AI features (Magic Image, smart text, the AI
+ // assistant) default to on; they're third-party AI consuming
+ // paid credits from our Unlayer workspace, so keep them all off.
+ ai: false,
},
}}
/>
@@ -551,6 +555,10 @@ function NativeEmailTemplaterForm({
preview: true,
imageEditor: true,
stockImages: false,
+ // Unlayer's AI features (Magic Image, smart text, the AI
+ // assistant) default to on; they're third-party AI consuming
+ // paid credits from our Unlayer workspace, so keep them all off.
+ ai: false,
},
projectId: unlayerEditorProjectId,
customJS: [unsubscribeLinkToolCustomJs],