{"id":14701015,"url":"https://github.com/cwinters8/gomap","last_synced_at":"2026-01-14T17:26:16.571Z","repository":{"id":65536635,"uuid":"580981499","full_name":"cwinters8/gomap","owner":"cwinters8","description":"Go module for interfacing with JMAP servers","archived":false,"fork":false,"pushed_at":"2023-12-18T02:19:58.000Z","size":169,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-23T16:03:18.570Z","etag":null,"topics":["fastmail","go","jmap","jmap-client"],"latest_commit_sha":null,"homepage":"","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/cwinters8.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-22T00:32:07.000Z","updated_at":"2025-09-22T14:44:01.000Z","dependencies_parsed_at":"2023-12-18T03:25:50.082Z","dependency_job_id":null,"html_url":"https://github.com/cwinters8/gomap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cwinters8/gomap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwinters8%2Fgomap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwinters8%2Fgomap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwinters8%2Fgomap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwinters8%2Fgomap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwinters8","download_url":"https://codeload.github.com/cwinters8/gomap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwinters8%2Fgomap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"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":["fastmail","go","jmap","jmap-client"],"created_at":"2024-09-13T11:01:32.624Z","updated_at":"2026-01-14T17:26:16.566Z","avatar_url":"https://github.com/cwinters8.png","language":"Go","funding_links":[],"categories":["Sending"],"sub_categories":["JMAP Server \u0026 others"],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/cwinters8/gomap.svg)](https://pkg.go.dev/github.com/cwinters8/gomap) [![Go Report Card](https://goreportcard.com/badge/github.com/cwinters8/gomap)](https://goreportcard.com/report/github.com/cwinters8/gomap) [![License](https://img.shields.io/github/license/cwinters8/gomap?color=blue)](https://github.com/cwinters8/gomap/blob/main/LICENSE) \u003c!-- markdownlint-disable-line MD041 --\u003e\n\n# gomap\n\nGo module for interfacing with [JMAP](https://jmap.io) mail servers, such as [Fastmail](https://www.fastmail.com/).\n\n## Usage\n\nTo add the module to your project:\n\n```sh\ngo get -u github.com/cwinters8/gomap\n```\n\nFirst, create a new mail client. You will need a session URL and a bearer token from your JMAP mail server. For Fastmail, the session URL is `https://api.fastmail.com/jmap/session`, and you can create an API token in [Settings \u003e Privacy \u0026 Security \u003e Integrations \u003e API tokens](https://www.fastmail.com/settings/security/tokens). You will most likely need to give access to `Email` (for querying and reading email contents) and `Email submission` (for sending emails) when you create the token.\n\n```go\nmail, err := gomap.NewClient(\n  \"https://api.fastmail.com/jmap/session\",\n  os.Getenv(\"BEARER_TOKEN\"),\n  gomap.DefaultDrafts,\n  gomap.DefaultSent,\n)\nif err != nil {\n  log.Fatal(err)\n}\n```\n\nThen you can use the client for your chosen operations. Check out the [examples](https://pkg.go.dev/github.com/cwinters8/gomap#pkg-examples) for full details on how to send and find emails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwinters8%2Fgomap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwinters8%2Fgomap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwinters8%2Fgomap/lists"}