Bug in deletion of attachment from email template

Bug in deletion of attachment from email template

When an attachment is deleted from an email template, this deletion is not saved.

Reproduction:
1. Save an email template (I used plain text) with two attachments.
2. delete one of the attachments and save the template.
3. As a (wrong) result, the next time, when you enter the template, both attachments are still part of the email template.