Email Templates as Content Entities

Created on 29 May 2022, almost 3 years ago
Updated 24 January 2024, over 1 year ago

Problem/Motivation

It would be great to give an editor the ability to create their own email content Templates.
The Email template should be content, so a user can add/edit/delete them.

(In my case, a user should have the ability to create an email template and reference this mail template into a group. Which should be sent later if a member join for example.)

Proposed resolution

* Add a new field "template" to the Entity type.
* Add a new tab "Email Templates" with a list of all email templates. (A list EasyEmail entities marked as template)
* "Add Email Template" renders the Email entity with a reduced form and in form mode "template".
* Add Emails also provides a list of Email Template and duplicate these "template entity" (Maybe separate issue)

Hope my explanation is clear enough. Would you review an MR for this?

✨ Feature request
Status

Closed: won't fix

Version

2.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Christian.wiedemann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    I agree that these do not need translations. Also, the translation issue has stalled.

    + 1 for it's important to move forward with providing users with template creation.

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

    An easy solution is to ignore Easy Email config entities using the Config Ignore module β†’ . That way, email types aren't deleted when importing config, which basically makes them content.

  • Status changed to Closed: won't fix over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States zengenuity

    I agree with the suggestion of @DieterHolvoet that using Config Ignore is a simpler way to achieve basically the same thing as having templates be content entities. I'm going to close this as won't fix.

Production build 0.71.5 2024