{"id":16324266,"url":"https://github.com/lordelogos/clientmail-react-email","last_synced_at":"2025-05-14T15:14:41.906Z","repository":{"id":186297930,"uuid":"674005714","full_name":"lordelogos/clientmail-react-email","owner":"lordelogos","description":"@client-mail/react-email is a plugin for client-mail that enables you send email templates built with react-email.","archived":false,"fork":false,"pushed_at":"2023-08-07T08:25:04.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T00:12:55.738Z","etag":null,"topics":["clientmail","email-template","emailjs","react-email","resend"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@clientmail/react-email","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lordelogos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-02T23:44:42.000Z","updated_at":"2024-12-18T13:47:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fb08298-9641-4826-ac4f-fa99e3f968b5","html_url":"https://github.com/lordelogos/clientmail-react-email","commit_stats":null,"previous_names":["lordelogos/clientmail-react-email"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordelogos%2Fclientmail-react-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordelogos%2Fclientmail-react-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordelogos%2Fclientmail-react-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordelogos%2Fclientmail-react-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lordelogos","download_url":"https://codeload.github.com/lordelogos/clientmail-react-email/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239232979,"owners_count":19604362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clientmail","email-template","emailjs","react-email","resend"],"created_at":"2024-10-10T22:57:09.762Z","updated_at":"2025-02-17T04:26:31.112Z","avatar_url":"https://github.com/lordelogos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://github.com/lordelogos/clientmail.js/assets/67395687/c7862e34-598f-4f1a-835d-f66be99677ea\" alt=\"client mail logo\"\u003e\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\u003ch1\u003e@clientmail/react-email\u003c/h1\u003e\u003c/div\u003e\n\n`@client-mail/react-email` is a plugin for [client-mail](https://github.com/lordelogos/clientmail.js) that enables you send email templates built with [react-email](https://react.email).\n\n## Installation\n\n1. Add `@clientmail/react-email` to your project using your preferred package manager:\n\n   With Yarn\n\n   ```sh\n   yarn add @clientmail/react-email\n   ```\n\n   With Npm\n\n   ```sh\n   npm install @clientmail/react-email\n   ```\n\n   With Pnpm\n\n   ```sh\n   pnpm install @clientmail/react-email\n   ```\n\n2. Add it to the plugins when creating ClientMail class instance\n\n   ```js\n   // Add import statement\n   import { ReactEmailPlugin } from \"@clientmail/react-email\";\n   import { ReactEmailTemplate } from \"./emails\";\n\n   // Add to the ClientMail class instance\n   const clientMail = new ClientMail(\"rc_A1..\", {\n     reactEmailAdapter: new ReactEmailPlugin(),\n   });\n   ```\n\n3. Send your react-email templates with `react` option.\n\n   ```js\n   const data = {\n     from: \"Acme \u003conboarding@resend.dev\u003e\",\n     to: [\"delivered@resend.dev\"],\n     subject: \"Hello World\",\n     // use `react` for react-email templates\n     react: \u003cReactEmailTemplate name={\"Paul\"} /\u003e,\n   };\n\n   clientMail.resend(data);\n   ```\n\n## Contributing\n\nContributions to client-mail are welcome! If you find a bug, have suggestions for improvements, or want to add new features, feel free to open an issue or submit a pull request. Please make sure to follow the existing coding style and conventions.\n\nWhen submitting a pull request, provide a clear description of the changes made and ensure that all tests pass. Adding appropriate tests for new features or bug fixes is highly appreciated.\n\n## Bugs and Feature Requests\n\nFor bugs and feature requests, [please create an issue](https://github.com/lordelogos/clientmail-react-email/issues/new/choose).\n\n## Author\n\n- Paul Ehikhuemen ([@pauloe_me](https://twitter.com/pauloe_me))\n\n## License\n\n`@clientmail/react-email` is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordelogos%2Fclientmail-react-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordelogos%2Fclientmail-react-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordelogos%2Fclientmail-react-email/lists"}