diff --git a/apps/organizations_ext/email.py b/apps/organizations_ext/email.py
index cc1cfd75..ad99cccf 100644
--- a/apps/organizations_ext/email.py
+++ b/apps/organizations_ext/email.py
@@ -21,13 +21,13 @@ class MetQuotaEmail(DetailEmail):
base_url = settings.GLITCHTIP_URL.geturl()
organization = self.object
subscription_link = f"{base_url}/{organization.slug}/settings/subscription"
- context["organization_name"] = organization.name
product = Product.objects.filter(
plan__subscriptions__customer__subscriber=organization,
plan__subscriptions__status="active",
).first()
context.update(
{
+ "organization": organization,
"product": product,
"event_limit": product.metadata.get("events") if product else None,
"subscription_link": subscription_link,
diff --git a/apps/organizations_ext/templates/organizations/met-quota-drip.html b/apps/organizations_ext/templates/organizations/met-quota-drip.html
index fdd57265..334f365d 100644
--- a/apps/organizations_ext/templates/organizations/met-quota-drip.html
+++ b/apps/organizations_ext/templates/organizations/met-quota-drip.html
@@ -1,3 +1,42 @@
+{% extends "email/email_base.html" %}
{% load static settings %}
-
You have reached your event quotaOrganization: {{ organization_name }} Your plan allows for {{ event_limit }} events per month, and your projects have exceeded that limit. You will no longer receive events until the monthly cycle resets, or you upgrade your plan. | |
|---|
|
|---|
|
|