{"id":30793992,"url":"https://github.com/sendgrid/smtpapi-go","last_synced_at":"2026-03-03T21:01:21.351Z","repository":{"id":12695048,"uuid":"15367378","full_name":"sendgrid/smtpapi-go","owner":"sendgrid","description":"SendGrids smtpapi library in Golang","archived":false,"fork":false,"pushed_at":"2023-04-10T00:15:08.000Z","size":296,"stargazers_count":32,"open_issues_count":2,"forks_count":46,"subscribers_count":192,"default_branch":"main","last_synced_at":"2025-09-05T16:45:50.208Z","etag":null,"topics":["mailpipeline"],"latest_commit_sha":null,"homepage":"https://sendgrid.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sendgrid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2013-12-21T23:27:47.000Z","updated_at":"2024-06-28T14:40:31.000Z","dependencies_parsed_at":"2024-06-18T15:46:29.932Z","dependency_job_id":null,"html_url":"https://github.com/sendgrid/smtpapi-go","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/sendgrid/smtpapi-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendgrid%2Fsmtpapi-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendgrid%2Fsmtpapi-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendgrid%2Fsmtpapi-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendgrid%2Fsmtpapi-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sendgrid","download_url":"https://codeload.github.com/sendgrid/smtpapi-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendgrid%2Fsmtpapi-go/sbom","scorecard":{"id":811053,"data":{"date":"2025-08-11","repo":{"name":"github.com/sendgrid/smtpapi-go","commit":"2be719257fe040c6b129028f2b9aa6db7612f679"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"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":"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":"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":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","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":"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: no topLevel permission defined: .github/workflows/pr-lint.yml:1","Warn: no topLevel permission defined: .github/workflows/test-and-deploy.yml:1","Info: no jobLevel write permissions found"],"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":"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/pr-lint.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/pr-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-deploy.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/test-and-deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-and-deploy.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/test-and-deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-and-deploy.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/test-and-deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-and-deploy.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/test-and-deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-deploy.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/test-and-deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-deploy.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/sendgrid/smtpapi-go/test-and-deploy.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction 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":"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":"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":"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: MIT License: 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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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-23T13:11:21.714Z","repository_id":12695048,"created_at":"2025-08-23T13:11:21.714Z","updated_at":"2025-08-23T13:11:21.714Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30060625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"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":["mailpipeline"],"created_at":"2025-09-05T16:26:20.834Z","updated_at":"2026-03-03T21:01:21.344Z","avatar_url":"https://github.com/sendgrid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![SendGrid Logo](twilio_sendgrid_logo.png)\n\n[![BuildStatus](https://github.com/sendgrid/smtpapi-go/actions/workflows/test-and-deploy.yml/badge.svg)](https://github.com/sendgrid/smtpapi-go/actions/workflows/test-and-deploy.yml)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social\u0026label=Follow)](https://twitter.com/sendgrid)\n[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/smtpapi-go.svg)](https://github.com/sendgrid/smtpapi-go/graphs/contributors)\n[![Go Report Card](https://goreportcard.com/badge/github.com/sendgrid/smtpapi-go)](https://goreportcard.com/report/github.com/sendgrid/smtpapi-go)\n[![GoDoc](https://godoc.org/github.com/sendgrid/smtpapi-go?status.svg)](https://godoc.org/github.com/sendgrid/smtpapi-go)\n\n**This is a simple library to simplify the process of using [SendGrid's](https://sendgrid.com) [X-SMTPAPI](http://sendgrid.com/docs/API_Reference/SMTP_API/index.html) with the Go programming language**\n\n# Table of Contents\n\n* [Announcements](#announcements)\n* [Installation](#installation)\n* [Quick Start](#quick-start)\n* [Usage](#usage)\n* [How to Contribute](#how-to-contribute)\n* [About](#about)\n* [Support](#support)\n* [License](#license)\n\n# Announcements\nAll the updates to this library are documented in our [CHANGELOG](CHANGELOG.md).\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n# Installation\n\n## Supported Versions\n\n* Go version 1.11-1.17\n\n## Prerequisites\n\n* The SendGrid service, starting at the [free level](https://sendgrid.com/free?source=smtpapi-go)\n\n## Install the Package\n\n```bash\ngo get github.com/sendgrid/smtpapi-go\n```\n\n## Setup the Environment Variables\n\n### Environment Variable\n\nUpdate the development environment with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys), for example:\n\n```bash\necho \"export SENDGRID_API_KEY='YOUR_API_KEY'\" \u003e sendgrid.env\necho \"sendgrid.env\" \u003e\u003e .gitignore\nsource ./sendgrid.env\n```\n\n\u003ca name=\"quick-start\"\u003e\u003c/a\u003e\n# Quick Start\n\n```go\npackage main\n\nimport (\n  \"github.com/sendgrid/smtpapi-go\"\n  \"fmt\"\n)\n\nfunc main() {\n  header := smtpapi.NewSMTPAPIHeader()\n  header.AddTo(\"test@example.com\")\n  fmt.Println(header.JSONString())\n}\n```\n\u003ca name=\"usage\"\u003e\u003c/a\u003e\n# Usage\n\n* [SendGrid Docs](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html)\n* [Example Code](examples)\n\n# How to Contribute\n\nWe encourage contribution to our libraries, please see our [CONTRIBUTING](CONTRIBUTING.md) guide for more details on contributions.\n\nQuick links:\n\n* [Feature Request](CONTRIBUTING.md#feature-request)\n* [Bug Reports](CONTRIBUTING.md#submit-a-bug-report)\n* [Improvements to the Codebase](CONTRIBUTING.md#improvements-to-the-codebase)\n* [Review Pull Requests](CONTRIBUTING.md#code-reviews)\n\n\u003ca name=\"about\"\u003e\u003c/a\u003e\n# About\n\nsmtpapi-go is maintained and funded by Twilio SendGrid, Inc. The names and logos for smtpapi-go are trademarks of Twilio SendGrid, Inc.\n\n\u003ca name=\"support\"\u003e\u003c/a\u003e\n# Support\n\nIf you need help with SendGrid, please check the [Twilio SendGrid Support Help Center](https://support.sendgrid.com).\n\n\n# License\n\n[The MIT License (MIT)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendgrid%2Fsmtpapi-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsendgrid%2Fsmtpapi-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendgrid%2Fsmtpapi-go/lists"}