Recipient type for system email templates should update if changed in config

Description

Currently, system email templates are created in the database if they do not exist; but are only updated via the admin.

This means that if the template config changes the email recipient type, this change will not be reflected in the database.

If a template exists, but the recipient type differs from the one defined in config, then that field (and only that field!) should be updated in the email_template table.

Environment

None

Assignee

Seb Duggan

Reporter

Seb Duggan

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure