Email notifications sometimes look broken when email batching is enabled

Start date

Due date

Description

https://github.com/mattermost/mattermost-server/issues/21695

Summary

Since upgrading from v7.4.0 to v7.5.1, email notifications sometimes contain only a user avatar.

The system is running Ubuntu 22.04.1 LTS. We operate our own mail server (Postfix 3.6.4).

Steps to reproduce

  • Set Email Notifications to "Every 15 minutes".

  • Another user replies in followed thread.

Expected behavior

A properly formatted email notification is sent.

Observed behavior

Email notification sometimes contains only a user avatar.

https://user-images.githubusercontent.com/29522608/202857661-cb00451a-6bac-45f4-95a9-f77e5fba7574.png

As a workaround we have disabled email batching, then the problem does not occur.

QA Test Steps

See description

Activity

Show:

Furqan MalikDecember 9, 2022 at 5:08 PM

Tested and Verified in Release(7.6.0-rc2)

Furqan MalikDecember 7, 2022 at 5:52 PM

Test and verified in cloud(077ee853_3f442dd8_44d8c4d9)

Tim ScheuermannNovember 22, 2022 at 8:42 PM

https://github.com/mattermost/mattermost-server/pull/20946 is missing the changes for batched notification emails. Since they share the same template, rendering in batch mode errors and only renders the beginning of the template.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

QA Assignee

Reporter

Checklist

Created November 21, 2022 at 1:26 PM
Updated December 13, 2022 at 1:49 PM
Resolved December 5, 2022 at 1:52 PM