diff --git a/kulkunen/drivers/securitas.py b/kulkunen/drivers/securitas.py index 911fa14de..7c4e33ccb 100644 --- a/kulkunen/drivers/securitas.py +++ b/kulkunen/drivers/securitas.py @@ -43,6 +43,7 @@ def install_grant(self, grant): assert grant.state == grant.INSTALLING user = grant.reservation.user + email = grant.reservation.reserver_email_address or user.email user_id = str(user.pk) @@ -65,7 +66,7 @@ def install_grant(self, grant): "userExtId": user_id, "firstName": user.first_name, "lastName": user.last_name, - "email": user.email, + "email": email, "notifyUser": True, **params, },