Skip to content

Resend + React Email integration #14

Open

Description

@ixahmedxi

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

Activity

  1. converted this from a draft issue on Apr 5, 2024
  2. Mahmoudgalalz commented on Apr 6, 2024

    @Mahmoudgalalz
    Contributor

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

    I can work on it

  3. ixahmedxi commented on Apr 6, 2024

    @ixahmedxi
    OwnerAuthor

    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.

  4. Mahmoudgalalz commented on Apr 6, 2024

    @Mahmoudgalalz
    Contributor

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

  5. duttaoindril commented on Apr 29, 2024

    @duttaoindril
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions