Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request — Create custom email templates #10

Open
Aurelsicoko opened this issue Apr 29, 2020 · 2 comments
Open

Request — Create custom email templates #10

Aurelsicoko opened this issue Apr 29, 2020 · 2 comments

Comments

@Aurelsicoko
Copy link
Member

This issue has been opened because we (as the core team) are looking for contributors to help us co-develop the feature.

No link to the roadmap available

Motivations

By default, Strapi setups an SMTP server to send emails. We do it to send "Forgot password" and "Email confirmation" emails. Some users raised the idea to create custom email templates. Even, if it's not the main goal of a CMS, there are interesting use cases where the functionality is required.

Tasks

  1. Find a contributor
  2. Define the needs
  3. Discuss a solution and technical implementation
  4. Ask for design
  5. Submit RFC

Risks

  • Remove the email management from the "Users & Permissions" plugin.
@surgeharb
Copy link

It would be nice to have this feature, plus separating email plugin from the "Users & Permissions" would be an improvement for the system.

I believe having a separate email plugin built-in to manage templates (and custom ones as well), manage SMTP details and even sending email to your users from a form in the admin panel would be a plus?

I would be happy to implement this plugin and integrate it into Strapi.
What are the next steps that we should take to proceed into development?

@Aurelsicoko
Copy link
Member Author

@surgeharb Yes, I agree, we should separate the Email Management from the current plugin "Users & Permissions". I would suggest following these steps:

  1. Clearly define what we expect from the Email plugin.
  2. Should it be part of the core?
  3. Is there any impact on the current product?

Here are my thoughts

  1. The plugin should provide an API to easily send an email to one or multiple users at the same time. The plugin should be based on a template system. I've no idea about the template format (HTML, Markdown, other).

  2. No. It's almost impossible to ensure an SMTP server working on every computer without bugs. Right now, we try to avoid any development and functionalities based on emails. The only way to ensure an email is sent is to rely on a third-party provider such as Gmail, MailChimp, SendGrid, etc. As an OSS we cannot create a strong dependency with a third-party.

  3. Yes. The Users & Permissions plugin, it could also impact the current RBAC development. We should also create a new menu item in the Settings section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants