Replies: 17 comments
|
I already set up a good foundation for this issue on the template side here. Files that can be customized for this: Also there are some things in place already for some kind of customization like Things left to add for this:
I doubt we need any endpoints. Do we want to add only color branding or complete HTML customization? |
|
Umm.. maybe we can add the colors as project settings (alongside the project logo), which will be consumed from the default template and also add an option to completely overwrite the templates HTML code and contents? We also need to think about multi-locale content, should we allow content overwriting for each locale separately? |
Had the same thought. Maybe we also add a {logo} variable. CSS in these templates is a pain - so I doubt it is a good idea for many people. Would still love to have it.
Mhh, I only thought of global changes. Also can't think of a use case for this 🤔 |
For example, if an app wants to support 3 main languages, and the developer wants to have customised email messages. Writing the down makes me think this might be a rare edge case or at least too early to think about. |
|
@TorstenDittmann the optimal solution would be if the user could just upload a template created with the templating language appwrite uses. This way appwrite would not need to have any editor for the templates. But being able to change colors, font and content would be enough for the beginning I believe. |
|
That means we would need to overthink, on how we store translations for these mails. Or translations in general. I would also love to introduce something like MJML, which would bring the e-mails send by Appwrite to the next level. This would also make custom e-mail templates very accessible - since in todays world we have to use some sketchy CSS attributes and tables in HTML to make emails look good. MJML would introduce a well documented templating syntax and we just provide the placeholders for the content. @eldadfux there is the scary part, we would introduce a dependency, but that doesnt mean that MJML is mandatory for the user. Since you could just use custom HTML/CSS - run it throught the interpreter and nothing changed. |
|
@saibotma 👋🏿 following up on this issue. Is this still relevant for you? |
|
Just want to mention that this is a feature that is relevant for us as well 👍🏽 |
Actually not really at the moment. |
|
Yeah @brandonroberts, @JulianBissekkou should now be the contact partner, as I am working on a different project now. Totally forgot this. |
It's also relevant for me. |
|
@Aragur using cloud functions is buggy or something else? |
|
@brandonroberts sorry for the late answer. Also I think that if you want to send a e-mail for user verification you shouldn't depend on a cloud function which may fail. I think a basic implementation to modify or to update the look of the email would be really nice. (Maybe like Gitea). |
|
Hey all, just an update, that this is a plan for the (near) future, but not officially on the roadmap for this year as we have a lot of other major priorities to accomplish that the community wants to see. This would also require a lot more discussion. I'd like to see this moved to Discussions :) We can collect any feedback over time to help us with this feature and it'll help get it on the roadmap sooner |
|
If we can't have custom email templates, what about providing APIs to generate the content of the email and then let us do whatever we want with it? For example, in the case of magic link authentication, Supabase lets you generate the link itself in the SDK, then you can take it and send it off to Sendgrid (or whatever) to use inside your own custom template. 😊 In the end, I don't think you need to spend a ton of time making an email template. Just give us a place to paste in our HTML and then use some kind of replacement identified that your script uses to fill in the link: |
|
I'm happy to share this is now at work, and is expected to be released in the next Appwrite version. |
|
Hi @eldadfux . Is this now available? If so, is there a example implementation for it? |
Uh oh!
There was an error while loading. Please reload this page.
🚀 Feature
As an admin I want to be able to customize the content and looks of email templates dynamically in the admin interface.
Have you spent some time to check if this issue has been raised before?
yes
Have you read the Code of Conduct?
yes
Pitch
Emails can be branded with the company design.
All reactions