mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
EmailLogBackend used to create a new EmailMessage and copy only certain values from the original EmailMultiAlternatives object. This resulted in the loss of information and made it harder to test PRs like https://github.com/zulip/zulip/pull/17121. So instead of creating a new EmailMessage, tweak and send the existing EmailMultiAlternatives object.