🐛(mailbox) fix mailbox creation email language
Don't forget to translate mail content before sending.
This commit is contained in:
@@ -55,7 +55,9 @@ class MailboxSerializer(serializers.ModelSerializer):
|
||||
|
||||
# send confirmation email
|
||||
client.notify_mailbox_creation(
|
||||
recipient=mailbox.secondary_email, mailbox_data=response.json()
|
||||
recipient=mailbox.secondary_email,
|
||||
mailbox_data=response.json(),
|
||||
issuer=self.context["request"].user,
|
||||
)
|
||||
|
||||
# actually save mailbox on our database
|
||||
|
||||
Reference in New Issue
Block a user