{"id":19874116,"url":"https://github.com/pythoninthegrass/resend_template","last_synced_at":"2025-03-01T01:22:57.147Z","repository":{"id":243417908,"uuid":"812362528","full_name":"pythoninthegrass/resend_template","owner":"pythoninthegrass","description":"Template for sending emails with Resend's Python SDK","archived":false,"fork":false,"pushed_at":"2025-02-07T23:28:13.000Z","size":53,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T21:49:55.897Z","etag":null,"topics":["python","smtp"],"latest_commit_sha":null,"homepage":"https://resend.com/docs/send-with-python","language":"Python","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/pythoninthegrass.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":"2024-06-08T17:09:51.000Z","updated_at":"2024-12-18T13:46:43.000Z","dependencies_parsed_at":"2024-06-08T19:10:03.038Z","dependency_job_id":null,"html_url":"https://github.com/pythoninthegrass/resend_template","commit_stats":null,"previous_names":["pythoninthegrass/resend_template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fresend_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fresend_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fresend_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fresend_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythoninthegrass","download_url":"https://codeload.github.com/pythoninthegrass/resend_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241301738,"owners_count":19940697,"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":["python","smtp"],"created_at":"2024-11-12T16:21:47.541Z","updated_at":"2025-03-01T01:22:57.129Z","avatar_url":"https://github.com/pythoninthegrass.png","language":"Python","readme":"# resend_template\n\nThis is a template for sending emails with [Resend](https://resend.com).\n\nInstead of hardcoding emails as inline HTML, you can use a Markdown file to customize the email content.\n\nIt extends environment variables to read from both the `.env` file and the command line.\n\n## Minimum Requirements\n\n* [python 3.11+](https://www.python.org/downloads/)\n\n## Recommended Requirements\n\n* [devbox](https://www.jetpack.io/devbox/docs/quickstart/)\n* [asdf](https://asdf-vm.com/)\n* [poetry](https://python-poetry.org/docs/)\n\n## Installation\n\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npython -m pip install -r requirements.txt\n```\n\n## Setup\n\n* Create [DNS records](https://resend.com/docs/dashboard/domains/introduction) for your domain to work with Resend.\n\n## Usage\n\n* Fill out `.env` with your Resend API key and from, to, and subject fields.\n  * To use a custom DNS domain, fill out `RESEND_FROM`:\n    ```\n    RESEND_FROM='First Last \u003cuser@custom_domain\u003e'\n    ```\n* Either edit the docstring for `msg` in `send_email.py` or use the `MARKDOWN_FILE` environment variable to specify a markdown file, then set `USE_MARKDOWN_FILE` to `True`.\n  * For the latter, fill out `EMAIL.md` with your email content. \n* Then run via\n\n    ```bash\n    ./send_email.py\n    ```\n\n* Once finished, deactivate the virtual environment via\n\n    ```bash\n    deactivate\n    ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fresend_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythoninthegrass%2Fresend_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fresend_template/lists"}