{"id":19261149,"url":"https://github.com/ericklima-ca/mailer_api","last_synced_at":"2026-05-15T11:33:15.547Z","repository":{"id":55677507,"uuid":"523173598","full_name":"ericklima-ca/mailer_api","owner":"ericklima-ca","description":"A simple API to send emails via HTTP using SMTP client.","archived":false,"fork":false,"pushed_at":"2022-08-17T00:27:29.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T22:07:53.206Z","etag":null,"topics":["docker","smtp-client"],"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/ericklima-ca.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":"2022-08-10T02:27:37.000Z","updated_at":"2022-08-17T00:25:54.000Z","dependencies_parsed_at":"2022-08-15T06:20:19.530Z","dependency_job_id":null,"html_url":"https://github.com/ericklima-ca/mailer_api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericklima-ca%2Fmailer_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericklima-ca%2Fmailer_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericklima-ca%2Fmailer_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericklima-ca%2Fmailer_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericklima-ca","download_url":"https://codeload.github.com/ericklima-ca/mailer_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240358174,"owners_count":19788854,"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":["docker","smtp-client"],"created_at":"2024-11-09T19:24:51.679Z","updated_at":"2026-05-15T11:33:10.490Z","avatar_url":"https://github.com/ericklima-ca.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailer API | ![example workflow](https://github.com/ericklima-ca/mailer_api/actions/workflows/go.yml/badge.svg)\n## Intro\nA simple mailing service via HTTP.\nIt receives messages from a POST payload and send email as requested, if the message is valid. \nThe message must have the format like [Message](#message-struct).\nTo connect to the server, set `HOST_SMTP` environment variable.\nFor now, it only accepts the gmail server (setted host and port to `\"smtp.gmail.com:465\"`).\n\n## MESSAGE STRUCT\n``` go\ntype message struct {\n\tTo      string `json:\"to\"`\n\tSubject string `json:\"subject\"`\n\tBody    string `json:\"body\"`\n\tFrom    string `json:\"from\"`\n\tToken   string `json:\"token\"` // a temporary token!\n}\n```\n## TODOS\n- [ ] Add validator hooks for package mailer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericklima-ca%2Fmailer_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericklima-ca%2Fmailer_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericklima-ca%2Fmailer_api/lists"}