True i18n for transactional emails #195
Replies: 6 comments 3 replies
-
Hi @nomocas. Yes. In 2022 we plan to give the ability to create custom email templates for your instances via Clerk Email & SMS templates feature. Meanwhile, you can send transactional emails to your users in Clerk via the Backend API. |
Beta Was this translation helpful? Give feedback.
-
Hi @SokratisVidros, Thanks for answering and great for the email API. But... How could it be used to send an OTP code (with additional content) to a particular user in his language (by example)? When I check i.e.: The allowed payload: type EmailParams = {
fromEmailName: string;
emailAddressId: string;
subject: string;
body: string;
}; The response (aka the fields listed in the provided documentation): static attributes = ['id', 'fromEmailName', 'toEmailAddress', 'emailAddressId', 'subject', 'body', 'status']; Also, if possible, it would mean that we need to rely on our backend to manage the authentication steps (e.g. send the OTP email itself - or magiclinks). And so it changes the way we should use react hooks in login related UI components (as it needs to call our backend in place of yours). As I understand it, for the moment, the email API is only aimed to send other transactional emails than OTP code or magiclinks. Am I wrong? Any more precise idea about the roadmap for multiple templates via Clerk Email & SMS templates feature? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hey @nomocas, you're right, there's no way to have multiple versions of the "system emails" right now. As Sokratis mentioned, this is slated for this year, but not this quarter. We still need to look at priorities for Q3. An MVP here would be the following:
^ this sounds reasonable for us to build in a shorter time span. The more complete feature set would include:
|
Beta Was this translation helpful? Give feedback.
-
Hi @braden-clerk, What you describe in your MVP is exactly what we need. It would be awesome to have it quickly... Where could we vote ? :) Cheers. |
Beta Was this translation helpful? Give feedback.
-
@nomocas Your request has already been added to our backlog. |
Beta Was this translation helpful? Give feedback.
-
https://feedback.clerk.com/roadmap/894efb80-f5e8-4258-8974-cfe3da12a4c8 |
Beta Was this translation helpful? Give feedback.
-
Package
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/clerk-expo
@clerk/backend-core
@clerk/clerk-sdk-node
@clerk/edge
Description
Only one template (per email type - i.e. welcome, invitation, OTP, etc) is allowed for transactional emails.
We need to produce an app for several languages, and so we miss a way to manage them.
Any idea about some solutions and a roadmap?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions