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

Resend + React Email integration #14

Open
ixahmedxi opened this issue Apr 5, 2024 · 4 comments
Open

Resend + React Email integration #14

ixahmedxi opened this issue Apr 5, 2024 · 4 comments

Comments

@ixahmedxi
Copy link
Owner

ixahmedxi commented Apr 5, 2024

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:

  1. copy packages/core into new directory packages/emails
  2. do your thing with adding resend and react email
  3. add @orbitkit/emails to list of transpileModules in next.config.js file in apps/web
  4. profit
@Mahmoudgalalz
Copy link
Contributor

can you add more details, about how would you like to have React Email, and Resend

I can work on it

@ixahmedxi
Copy link
Owner Author

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.

@Mahmoudgalalz
Copy link
Contributor

Cool, I will define a template to use and make integration with it for nextjs

@duttaoindril
Copy link

#9 (comment)

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

No branches or pull requests

3 participants