{"id":29710658,"url":"https://github.com/fastbill/go-mail","last_synced_at":"2025-07-23T21:39:17.689Z","repository":{"id":32232001,"uuid":"131716329","full_name":"fastbill/go-mail","owner":"fastbill","description":"Golang mail library with interchangeable backends","archived":false,"fork":false,"pushed_at":"2022-05-23T10:20:10.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-21T01:56:04.882Z","etag":null,"topics":["golang","mail","mandrill"],"latest_commit_sha":null,"homepage":"","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/fastbill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-01T13:29:53.000Z","updated_at":"2022-05-23T22:39:28.000Z","dependencies_parsed_at":"2022-09-08T11:23:31.568Z","dependency_job_id":null,"html_url":"https://github.com/fastbill/go-mail","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/fastbill/go-mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastbill%2Fgo-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastbill%2Fgo-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastbill%2Fgo-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastbill%2Fgo-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastbill","download_url":"https://codeload.github.com/fastbill/go-mail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastbill%2Fgo-mail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266753984,"owners_count":23979145,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["golang","mail","mandrill"],"created_at":"2025-07-23T21:39:17.022Z","updated_at":"2025-07-23T21:39:17.682Z","avatar_url":"https://github.com/fastbill.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-mail [![Build Status](https://travis-ci.org/fastbill/go-mail.svg?branch=master)](https://travis-ci.org/fastbill/go-mail) [![GoDoc](https://godoc.org/github.com/fastbill/go-mail?status.svg)](https://godoc.org/github.com/fastbill/go-mail)\n\nPackage mail provides an easy interface with interchangable backends.\nPull requests for additional mail providers are very welcome.\n\n## Implementation roadmap\n\n- [x] [Mandrill](https://mandrillapp.com)\n\n## Example usage\n\n```go\npackage main\n\nimport (\n\t\"github.com/fastbill/go-mail/v3\"\n\t\"github.com/fastbill/go-mail/v3/mandrill\"\n)\n\nfunc main() {\n\t// Create and ping Mandrill mailer.\n\tmandrillMailer := mandrill.MustNew(\"https://mandrillapp.com/api/1.0/\", \"my-token\")\n\terr := mandrillMailer.Ping()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\t// Create template mailer.\n\ttemplateMailer := MustNewStandardTemplateMailer(mandrillMailer, \"/templates/*.tmpl\")\n\n\t// Configure email for sending.\n\ttemplate := \u0026Template{\n\t\tData: map[string]interface{}{\n\t\t\t\"Foo\": 1234,\n\t\t},\n\t\tTextPath: \"hello.text.tmpl\",\n\t\tHTMLPath: \"hello.html.tmpl\",\n\t}\n\tconfig := \u0026Config{\n\t\tFrom:    \u0026Address{Name: \"FastBill GmbH\", Email: \"no-reply@fastbill.com\"},\n\t\tTo:      []Address{Address{Name: \"Info\", Email: \"info@fastbill.com\"}},\n\t\tSubject: \"Hello world\",\n\t\tOptions: \u0026mandrill.Options{\n\t\t\tImportant: true,\n\t\t},\n\t}\n\n\t// Send email.\n\tif err := templateMailer.Send(template, config); err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastbill%2Fgo-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastbill%2Fgo-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastbill%2Fgo-mail/lists"}