{"id":22682216,"url":"https://github.com/hyper-prog/restgomail","last_synced_at":"2026-05-04T03:32:00.055Z","repository":{"id":156340754,"uuid":"340125721","full_name":"hyper-prog/restgomail","owner":"hyper-prog","description":"HTTP-REST Mail gateway written in Go","archived":false,"fork":false,"pushed_at":"2022-07-04T11:32:57.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T14:24:01.067Z","etag":null,"topics":["daemon","json","mail-agent","smtp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyper-prog.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":"2021-02-18T17:27:46.000Z","updated_at":"2022-01-17T13:06:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"15f1f85c-31bb-4343-bdf7-27c3e3378d8e","html_url":"https://github.com/hyper-prog/restgomail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyper-prog/restgomail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Frestgomail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Frestgomail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Frestgomail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Frestgomail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper-prog","download_url":"https://codeload.github.com/hyper-prog/restgomail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Frestgomail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["daemon","json","mail-agent","smtp"],"created_at":"2024-12-09T20:25:54.214Z","updated_at":"2026-05-04T03:32:00.028Z","avatar_url":"https://github.com/hyper-prog.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![RestGoMail logo](https://raw.githubusercontent.com/hyper-prog/restgomail/main/images/restgomail.png)\n\nRestGoMail - HTTP-REST Mail gateway in Go\n==========================================\n\nRestGoMail is a small daemon/container which able to receive HTML e-mail forward requests \nas HTTP POST in a JSON data, queue the requests, and sends the specified\nmails to a SMTP server according to the settings.\n\nDocker images\n-------------\nAvailable a docker container with a compiled restgomail daemon:\n Docker hub:\n\n- https://hub.docker.com/r/hyperprog/restgomail\n\n Downloadable (pullable) image name:\n \n    hyperprog/restgomail\n\nCheck the docker-compose.yml file under the EXAMPLES directory to learn how to configure it.\n\nConfig file sample (JSON) \n-------------------------\nYou need to give a JSON file as a command line argument to specify\nSMTP host and port, the authentications, allowed client certificates and so on...\n\n    {\n        \"restgomail\": {\n            \"httpsListenPort\": \"443\",\n            \"smtpHost\": \"smtp.gmail.com\",\n            \"smtpPort\": \"587\",\n            \"smtpAuthRequired\": true,\n            \"smtpAuthPassword\": \"gmailpasswordsample\",\n            \"smtpAllowedFromAddressOnly\": \"sampleuser@gmail.com\",\n            \"tlsKeyFile\": \"restgomail.key\",\n            \"tlsCertFile\": \"restgomail.crt\",\n            \"allowOnlyKnownCertificates\": true,\n            \"knownCertificates\": {\n                \"clientOneContainer\": \"@one_client.crt\",\n                \"clientTwoContainer\": \"MIdjr6RfjfuESwekjEDffg...\"\n            },\n            \"waitSecondsAfterSmtpReq\": 10,\n            \"debugMode\": false\n        }\n    }\n\nE-mail send request sample (JSON)\n---------------------------------\nThis is a sample JSON passed as HTTP-POST request to the 443 port (configured above)\n\n    {\n        \"sendmail\": {\n            \"from\": \"sampleuser@gmail.com\",\n            \"to\": \"tomyfriend@postmail.com\",\n            \"subject\": \"This is a test message\",\n            \"bodyhtml\": \"Probably \u003ci\u003eI can say\u003c/i\u003e this thing is \u003ch1\u003eWORK'S FLAWLESS!\u003c/h1\u003e!\"\n        }\n    }\n\nYou can encode subject and bodyhtml in base64 if the data contains special characters\n\n    {\n        \"sendmail\": {\n            \"from\": \"sampleuser@gmail.com\",\n            \"to\": \"tomyfriend@postmail.com\",\n            \"subject\": \"VGVzdCBmcm9tIFBIUA==\",\n            \"subjectEncoding\": \"base64\",\n            \"bodyhtml\": \"VGhpcyBpcyByZWNlaXZlZCB0aHJvdWdoIDxoMT5SZXN0R29NYWlsPC9oMT4=\",\n            \"bodyhtmlEncoding\": \"base64\"\n        }\n    }\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper-prog%2Frestgomail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper-prog%2Frestgomail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper-prog%2Frestgomail/lists"}