From 0aaf117b8e7e3e0d836a984e18405a7fa8a4d631 Mon Sep 17 00:00:00 2001 From: Nathan Sherburn Date: Tue, 13 Aug 2024 14:42:12 +1000 Subject: [PATCH] Simplify subject line of partner reports so that they get bundled in Gmail --- donation/emails/partner_charity_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donation/emails/partner_charity_report.py b/donation/emails/partner_charity_report.py index 9678cce..a3359e6 100644 --- a/donation/emails/partner_charity_report.py +++ b/donation/emails/partner_charity_report.py @@ -127,7 +127,7 @@ def send_partner_charity_reports(test=True): cc = [] body = "Hi team, here's the internal report for {0} from {1} to {2}".format(partner, start.strftime('%d-%m-%Y'), end.strftime('%d-%m-%Y')) message = EmailMessage( - subject="Internal report for {0} from {1} to {2}".format(partner, start.strftime('%d-%m-%Y'), end.strftime('%d-%m-%Y')), + subject="Effective Altruism Australia donation report [internal]", body=body, to=to if not test else [settings.TESTING_EMAIL], cc=cc if not test else [settings.TESTING_EMAIL],