{"id":26264335,"url":"https://github.com/danielspindler/reactemailservice","last_synced_at":"2026-04-07T08:01:34.814Z","repository":{"id":282127591,"uuid":"947532684","full_name":"DanielSpindler/ReactEmailService","owner":"DanielSpindler","description":"This Project is all about an easy Mailer to replace MJML with react email (which is easier to handle imo), saving time.  ","archived":false,"fork":false,"pushed_at":"2025-03-12T23:11:08.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T00:19:55.575Z","etag":null,"topics":["express","mailer","react","react-email","tailwind","typescript"],"latest_commit_sha":null,"homepage":"","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/DanielSpindler.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":"2025-03-12T20:53:19.000Z","updated_at":"2025-03-12T23:11:11.000Z","dependencies_parsed_at":"2025-03-13T00:30:07.145Z","dependency_job_id":null,"html_url":"https://github.com/DanielSpindler/ReactEmailService","commit_stats":null,"previous_names":["danielspindler/reactemailservice"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DanielSpindler/ReactEmailService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielSpindler%2FReactEmailService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielSpindler%2FReactEmailService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielSpindler%2FReactEmailService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielSpindler%2FReactEmailService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielSpindler","download_url":"https://codeload.github.com/DanielSpindler/ReactEmailService/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielSpindler%2FReactEmailService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["express","mailer","react","react-email","tailwind","typescript"],"created_at":"2025-03-14T02:14:44.501Z","updated_at":"2026-04-07T08:01:34.794Z","avatar_url":"https://github.com/DanielSpindler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Email Service Setup\n\n## 1. Choose a Mailer\nBefore using this service, you need to decide which mailer to use. **It is important that the mailer supports HTML as a string.**\n\nBy default, the service uses **SendGrid**. You can find the mailer configuration in the `src/mailer.ts` file.\n\nIf you decide not to use SendGrid, be sure to uninstall it:\n```sh\nnpm uninstall @sendgrid/mail\n```\nAfter removing it and installing your choice, run the following command to install required dependencies:\n```sh\nnpm install\n```\n\n## 2. Update the `.env` File\nMake sure to create your `.env` file with the necessary configurations for your chosen mailer.\n\n## 3. Available Scripts\nCheck the `package.json` file to see the available scripts for running the project.\n\n## 4. Sending an Email via POST Request\nHere is an example of how to send a POST request to the server:\n```json\n{\n  \"type\": \"orderConfirmation\",\n  \"to\": \"SomeMail@ymail.com\",\n  \"subject\": \"Some Subject\"\n}\n```\nYou can send additional data and customize the templates accordingly to personalize outgoing emails.\n\n## 5. Adjust the Email Template\nData marked as **\"EXAMPLEDATA\"** must be updated as soon as possible. Additionally, the entire template file should be adjusted to fit your needs.\n\n## 6. React Email Gui\n```sh\nnpm run dev\n```\nStarts a Test-Server to watch your templates in the browser.\nBe careful, every Email-Client has different \"Problems\" that need different fixes (css wise)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielspindler%2Freactemailservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielspindler%2Freactemailservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielspindler%2Freactemailservice/lists"}