{"id":49373654,"url":"https://github.com/licenseware/send-email-notification","last_synced_at":"2026-04-28T01:06:43.763Z","repository":{"id":65160622,"uuid":"465398020","full_name":"licenseware/send-email-notification","owner":"licenseware","description":"Github action that will send email notification using SendGrid Email API","archived":false,"fork":false,"pushed_at":"2026-04-20T20:34:05.000Z","size":68,"stargazers_count":13,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-20T22:33:14.839Z","etag":null,"topics":["actions","cicd","docker","dockerfile","email","github-action","github-actions","python","python3","sendgrid","sendgrid-api","sendgrid-mail"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/licenseware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-02T17:09:20.000Z","updated_at":"2026-04-17T12:37:36.000Z","dependencies_parsed_at":"2024-08-23T08:41:57.770Z","dependency_job_id":"09cb9d7b-a5c4-4f9a-a0d1-1dc62c5f0506","html_url":"https://github.com/licenseware/send-email-notification","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"e785c96d8ec4755c5588958d4f95c8e6c208f610"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/licenseware/send-email-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licenseware%2Fsend-email-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licenseware%2Fsend-email-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licenseware%2Fsend-email-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licenseware%2Fsend-email-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/licenseware","download_url":"https://codeload.github.com/licenseware/send-email-notification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licenseware%2Fsend-email-notification/sbom","scorecard":{"id":409939,"data":{"date":"2025-08-11","repo":{"name":"github.com/licenseware/send-email-notification","commit":"50f2d215f346c96b111145c68d29d6280967d616"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci.yml:62","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci.yml:122","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:133","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:18","Warn: topLevel 'packages' permission set to 'write': .github/workflows/ci.yml:20","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/ci.yml:21"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:138: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:140: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/licenseware/send-email-notification/ci.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:12","Warn: containerImage not pinned by hash: Dockerfile:19","Warn: pipCommand not pinned by hash: Dockerfile:15-16","Warn: pipCommand not pinned by hash: Dockerfile:22-24","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:95","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":9,"reason":"SAST tool is not run on all commits -- score normalized to 9","details":["Warn: 9 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T22:25:41.773Z","repository_id":65160622,"created_at":"2025-08-18T22:25:41.773Z","updated_at":"2025-08-18T22:25:41.773Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32088913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"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":["actions","cicd","docker","dockerfile","email","github-action","github-actions","python","python3","sendgrid","sendgrid-api","sendgrid-mail"],"created_at":"2026-04-28T01:06:43.049Z","updated_at":"2026-04-28T01:06:43.749Z","avatar_url":"https://github.com/licenseware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Send Email Notification\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](./.pre-commit-config.yaml)\n[![License](https://img.shields.io/github/license/licenseware/send-email-notification)](./LICENSE)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Send Email Notification](#send-email-notification)\n  - [Send email to one address](#send-email-to-one-address)\n  - [Send email to multiple addresses upon Github release](#send-email-to-multiple-addresses-upon-github-release)\n  - [Send email with attachments](#send-email-with-attachments)\n  - [Run Docker Container Locally](#run-docker-container-locally)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\nUsing [the Sendgrid Python library](https://pypi.org/project/sendgrid/), send\nemail to people with the content \u0026 subject of your choice.\n\nThis repository is used inside Github Actions in the following format:\n\n## Send email to one address\n\n```yaml\n      - uses: licenseware/send-email-notification@v1.2.0\n        with:\n          api-key: ${{ secrets.SENDGRID_API_KEY }}\n          subject: Test Subject\n          from-email: verified-email@licenseware.io\n          to-email: john-doe@licenseware.io\n          markdown-body: |\n            # My Markdown Title\n\n            This is a description\n\n            ## Another header\n\n            Another description\n```\n\n## Send email to multiple addresses upon Github release\n\n```yaml\non:\n  release:\n    types:\n      - published\n\njobs:\n  release-notification:\n    name: release notification\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        to-emails:\n          - receiver1@licenseware.io\n          - receiver2@licenseware.io\n          - receiver3@licenseware.io\n\n    steps:\n      - uses: licenseware/send-email-notification@v1.2.0\n        with:\n          api-key: ${{ secrets.SENDGRID_API_KEY }}\n          subject: New Release ${{ github.repository }}:${{ github.ref_name }}\n          from-email: verified-email@licenseware.io\n          to-email: ${{ matrix.to-emails }}\n          markdown-body: ${{ github.event.release.body }}\n\n```\n\n## Send email with attachments\n\n```yaml\n      - uses: licenseware/send-email-notification@v1.2.0\n        with:\n          api-key: ${{ secrets.SENDGRID_API_KEY }}\n          subject: Test Subject\n          from-email: verified-email@licenseware.io\n          to-email: some-dude@licenseware.io\n          markdown-body: |\n            Hey, check out this file\n          attachments: |\n            ./path/to/file1.txt\n            ./path/to/file2.txt\n          # optionally, a list of zero, one, or the same size {inline, attachment}\n          attachments-disposition: |\n            attachment\n            attachment\n```\n\n## Use eu region\n\n```yaml\n      - uses: licenseware/send-email-notification@v1.2.0\n        with:\n          api-key: ${{ secrets.SENDGRID_API_KEY }}\n          region: eu\n          subject: Test Subject\n          from-email: verified-email@licenseware.io\n          to-email: john-doe@licenseware.io\n          markdown-body: |\n            Mail body\n```\n\n## Run Docker Container Locally\n\nGrab the latest tag from here:\n\n[![GitHub Tag](https://img.shields.io/github/v/tag/licenseware/send-email-notification?sort=semver\u0026style=plastic\u0026label=latest%20tag\u0026color=light-green)](https://github.com/licenseware/send-email-notification/pkgs/container/send-email-notification)\n\n```bash\nexport SENDGRID_API_KEY=\"CHANGE_THIS\"\n\ndocker run --rm \\\n  --name send-email-notification \\\n  ghcr.io/licenseware/send-email-notification \\\n  --api-key=${SENDGRID_API_KEY} \\\n  --from=info@example.com \\\n  --to=john@example.com \\\n  --subject=\"Send email notifications\" \\\n  --markdown-body=\"\"\"\n# Send email notifications\n\nCheckout this cool repository:\n\n\u003chttps://github.com/licenseware/send-email-notification\u003e\n\"\"\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flicenseware%2Fsend-email-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flicenseware%2Fsend-email-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flicenseware%2Fsend-email-notification/lists"}