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.

fix(workflows): drop the urgency prefix from sending-suspension emails (#84446)

Daniel Marchuk56847b1ba06c
diff --git a/posthog/tasks/email.py b/posthog/tasks/email.py
index dc2254a87ff9..e558ed214e5a 100644
--- a/posthog/tasks/email.py
+++ b/posthog/tasks/email.py
@@ -677,7 +677,9 @@ def send_email_sending_suspended(team_id: int, reason: str, suspended_at: str) -
return
message = EmailMessage(
campaign_key=f"email_sending_suspended_{team_id}_{suspended_at}",
- subject=f"[Action required] Email sending has been suspended for project '{team}'",
+ # No urgency prefix in the subject. A bracketed "[Action required]" got these filtered to
+ # junk in production, while the plainer re-enabled email reached the same address.
+ subject=f"Email sending has been suspended for project '{team}'",
template_name="email_sending_suspended",
template_context={
"team": team,
@@ -707,8 +709,9 @@ def send_email_sending_reputation_finding(
if not memberships_to_email:
return
high_impact = impact == "HIGH"
+ # Kept free of an urgency prefix for the same deliverability reason as the suspension email.
subject = (
- f"[Action required] Email sending for project '{team}' is at risk of being paused"
+ f"Email sending for project '{team}' is at risk of being paused"
if high_impact
else f"Reputation warning for email sending in project '{team}'"
)