email: Update follow-up day 1 emails to mention demo orgs.

This is a part of #19523.
This commit is contained in:
Eeshan Garg
2021-09-09 15:51:55 -04:00
committed by Tim Abbott
parent bf9c35ded4
commit 85b1f1bed9
4 changed files with 51 additions and 2 deletions

View File

@@ -682,6 +682,7 @@ def enqueue_welcome_emails(user: UserProfile, realm_creation: bool = False) -> N
realm_creation=realm_creation,
email=user.delivery_email,
is_realm_admin=user.is_realm_admin,
is_demo_org=user.realm.demo_organization_scheduled_deletion_date is not None,
)
if user.is_realm_admin:
context["getting_started_link"] = (