{"id":28158454,"url":"https://github.com/indeedeng/libemail","last_synced_at":"2025-06-12T18:33:27.808Z","repository":{"id":57484405,"uuid":"194732576","full_name":"indeedeng/libemail","owner":"indeedeng","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-17T14:07:40.000Z","size":32,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-05T20:59:58.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indeedeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-01T19:35:26.000Z","updated_at":"2019-12-05T20:21:02.000Z","dependencies_parsed_at":"2022-08-26T12:24:22.292Z","dependency_job_id":null,"html_url":"https://github.com/indeedeng/libemail","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/indeedeng/libemail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indeedeng%2Flibemail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indeedeng%2Flibemail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indeedeng%2Flibemail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indeedeng%2Flibemail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indeedeng","download_url":"https://codeload.github.com/indeedeng/libemail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indeedeng%2Flibemail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259519264,"owners_count":22870328,"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":[],"created_at":"2025-05-15T09:19:36.114Z","updated_at":"2025-06-12T18:33:27.778Z","avatar_url":"https://github.com/indeedeng.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"libemail\n========\n\n[![Go Report Card](https://goreportcard.com/badge/oss.indeed.com/go/libemail)](https://goreportcard.com/report/oss.indeed.com/go/libemail)\n[![Build Status](https://travis-ci.com/indeedeng/libemail.svg?branch=master)](https://travis-ci.com/indeedeng/libemail)\n[![GoDoc](https://godoc.org/oss.indeed.com/go/libemail?status.svg)](https://godoc.org/oss.indeed.com/go/libemail)\n[![NetflixOSS Lifecycle](https://img.shields.io/osslifecycle/indeedeng/libemail.svg)](OSSMETADATA)\n[![GitHub](https://img.shields.io/github/license/indeedeng/libemail.svg)](LICENSE)\n\n# Project Overview\n\nPackage `libemail` provides utilities for composing plaintext or HTML email\nmessages with attachments that can be sent through a typical SMTP server.\n\n# Getting Started\n\nThe `libemail` module can be installed like any other Go module, e.g.\n```\n$ go get oss.indeed.com/go/libemail\n```\n\nThis is a typical example for sending a basic plaintext email to a locally\nrunning SMTP server, e.g.\n```\nm := \u0026libemail.TextEmail{\n    From:    \"alice@example.com\",\n    To:      []string{\"bob@example.com\"},\n    ReplyTo: \"alice@example.com\",\n    Subject: \"this is a test\",\n    Body:    \"hello world!\",\n}\n\nsmtpSender := libemail.NewSMTPSender(libemail.SMTPSenderOptions{\n    Address:      \"localhost:10025\",\n    SendMailFunc: smtp.SendMail,\n    Auth:         nil,\n})\n\n_ = smtpSender.Send(m)\n```\n\n# Asking Questions\n\nFor technical questions about `libemail`, just file an issue in the GitHub tracker.\n\nFor questions about Open Source in Indeed Engineering, send us an email at\nopensource@indeed.com\n\n# Contributing\n\nWe welcome contributions! Feel free to help make `libemail` better.\n\n### Process\n\n- Open an issue and describe the desired feature / bug fix before making\nchanges. It's useful to get a second pair of eyes before investing development\neffort.\n- Make the change. If adding a new feature, remember to provide tests that\ndemonstrate the new feature works, including any error paths. If contributing\na bug fix, add tests that demonstrate the erroneous behavior is fixed.\n- Open a pull request. Automated CI tests will run. If the tests fail, please\nmake changes to fix the behavior, and repeat until the tests pass.\n- Once everything looks good, one of the indeedeng members will review the\nPR and provide feedback.\n\n# Maintainers\n\nThe `oss.indeed.com/go/libemail` module is maintained by Indeed Engineering.\n\nWhile we are always busy helping people get jobs, we will try to respond to\nGitHub issues, pull requests, and questions within a couple of business days.\n\n# Code of Conduct\n\n`oss.indeed.com/go/libemail` is governed by the [Contributer Covenant v1.4.1](CODE_OF_CONDUCT.md)\n\nFor more information please contact opensource@indeed.com.\n\n# License\n\nThe `oss.indeed.com/go/libemail` module is open source under the [BSD-3-Clause](LICENSE)\nlicense.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findeedeng%2Flibemail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findeedeng%2Flibemail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findeedeng%2Flibemail/lists"}