diff --git a/templates/zerver/emails/email_base_default.source.html b/templates/zerver/emails/email_base_default.source.html
index 088f42f9cc..021a7fcdaa 100644
--- a/templates/zerver/emails/email_base_default.source.html
+++ b/templates/zerver/emails/email_base_default.source.html
@@ -33,7 +33,7 @@
                             
                                 
                                     | 
-                                        Kandra Labs, 112 S Park St, San Francisco CA 94107
+                                        {{physical_address}}
                                         {% block manage_preferences %}{% endblock %}
                                      | 
                                 
diff --git a/zerver/lib/send_email.py b/zerver/lib/send_email.py
index e6781af1d3..981caf2c29 100644
--- a/zerver/lib/send_email.py
+++ b/zerver/lib/send_email.py
@@ -41,6 +41,7 @@ def build_email(template_prefix, to_user_id=None, to_email=None, from_name=None,
         'realm_name_in_notifications': False,
         'support_email': FromAddress.SUPPORT,
         'email_images_base_uri': settings.ROOT_DOMAIN_URI + '/static/images/emails',
+        'physical_address': settings.PHYSICAL_ADDRESS,
     })
     subject = loader.render_to_string(template_prefix + '.subject',
                                       context=context,
diff --git a/zproject/dev_settings.py b/zproject/dev_settings.py
index 61af054aea..dbf012f0e6 100644
--- a/zproject/dev_settings.py
+++ b/zproject/dev_settings.py
@@ -28,6 +28,7 @@ NOTIFICATION_BOT = "notification-bot@zulip.com"
 ERROR_BOT = "error-bot@zulip.com"
 NEW_USER_BOT = "new-user-bot@zulip.com"
 EMAIL_GATEWAY_BOT = "emailgateway@zulip.com"
+PHYSICAL_ADDRESS = "Zulip Headquarters, 123 Octo Stream, South Pacific Ocean"
 EXTRA_INSTALLED_APPS = ["zilencer", "analytics"]
 # Disable Camo in development
 CAMO_URI = ''
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index e84a77d9b4..36ce73f156 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -81,6 +81,13 @@ EMAIL_USE_TLS = True
 # zulip.example.com).
 #NOREPLY_EMAIL_ADDRESS = 'noreply@example.com'
 
+# Many countries and bulk mailers require certain types of email to display
+# a physical mailing address to comply with anti-spam legislation.
+# Non-commercial and non-public-facing installations are unlikely to need
+# this setting.
+# The address should have no newlines.
+#PHYSICAL_ADDRESS = ''
+
 ### AUTHENTICATION SETTINGS
 #
 # Enable at least one of the following authentication backends.
diff --git a/zproject/settings.py b/zproject/settings.py
index 3cbc64fdbf..1f8954a1d0 100644
--- a/zproject/settings.py
+++ b/zproject/settings.py
@@ -115,9 +115,10 @@ else:
 # prod_settings_template.py, and in the initial /etc/zulip/settings.py on a new
 # install of the Zulip server.
 DEFAULT_SETTINGS = {
-    # Basic Django email settings
+    # Basic email settings
     'EMAIL_HOST': None,
     'NOREPLY_EMAIL_ADDRESS': "noreply@" + EXTERNAL_HOST.split(":")[0],
+    'PHYSICAL_ADDRESS': '',
 
     # Google auth
     'GOOGLE_OAUTH2_CLIENT_ID': None,