orbitkit
orbitkit copied to clipboard
Resend + React Email integration
As a requirement for more authentication method (for example email + verification codes authentication) orbitkit needs to have some way of sending emails, Resend and it's library, react email, seems like the best option here.
We probably should have a packages/emails that will configure resend and export the resend instance to be used in apps as well as the email templates using react email. The package should be internal as that it will be used in the web application and we can utilise transpileModules in next.config.js to avoid the build step.
Steps to work:
- copy
packages/coreinto new directorypackages/emails - do your thing with adding resend and react email
- add
@orbitkit/emailsto list of transpileModules in next.config.js file inapps/web - profit
can you add more details, about how would you like to have React Email, and Resend
I can work on it
can you add more details, about how would you like to have React Email, and Resend
I can work on it
@Mahmoudgalalz thanks for the heads up, I have now added more information about this.
Cool, I will define a template to use and make integration with it for nextjs
https://github.com/ixahmedxi/orbitkit/issues/9#issuecomment-2081902464