{"id":20492060,"url":"https://github.com/zotonic/zotonic_mod_mailgun","last_synced_at":"2026-04-22T10:03:26.604Z","repository":{"id":45369615,"uuid":"332784800","full_name":"zotonic/zotonic_mod_mailgun","owner":"zotonic","description":"Use mailgun for relaying emails.","archived":false,"fork":false,"pushed_at":"2025-01-03T10:44:50.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-05T17:41:17.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zotonic.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-01-25T15:04:54.000Z","updated_at":"2025-01-03T10:44:53.000Z","dependencies_parsed_at":"2024-01-12T21:34:10.798Z","dependency_job_id":"88cc7348-c15e-4a37-ac57-6bc90bf85f36","html_url":"https://github.com/zotonic/zotonic_mod_mailgun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zotonic/zotonic_mod_mailgun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zotonic%2Fzotonic_mod_mailgun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zotonic%2Fzotonic_mod_mailgun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zotonic%2Fzotonic_mod_mailgun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zotonic%2Fzotonic_mod_mailgun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zotonic","download_url":"https://codeload.github.com/zotonic/zotonic_mod_mailgun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zotonic%2Fzotonic_mod_mailgun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32130776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: 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":[],"created_at":"2024-11-15T17:27:28.435Z","updated_at":"2026-04-22T10:03:26.585Z","avatar_url":"https://github.com/zotonic.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zotonic_mod_mailgun\n\nUse [mailgun](https://mailgun.com/) for relaying emails.\n\n## Functionality\n\nThis modules supports handling the webhook results from mailgun, when email is\nsent via mailgun as the relay.\n\nIf the webhook is configured then the email results from mailgun are reported back\nto the Zotonic system. This is done by calling `z_email_server:delivery_report/4`,\nthe `#email_failed` notification, or `m_email_status:mark_read/2`\n\n`mod_mailgun` integrates into the email status module, copying clear and block\nactions to mailgun.\n\n## Configuration\n\nThere are four configurarion keys:\n\n * `mod_mailgun.api_url` endpoint for mailgun API requests\n * `mod_mailgun.domain` domain as configured in mailgun\n * `mod_mailgun.api_key` key for signing API requests\n * `mod_mailgun.webhook_secret` key for signing calls from mailgun to our webhook\n\nBesides this the relay options for email sending need to be configured.\n\nThese can be configured in the admin via System \u003e Mail settings. There will be\nan additional panel to provide the Mailgun configurations.\n\n## Webhook\n\nMailgun reports sending progress back to a webhook.\n\nThe webhook, to be configured at mailgun, is at: `/mailgun-webhook`\n\nThe config key `mod_mailgun.webhook_secret` MUST be configured for this to work.\n\nIf mailgun reports that the email is sent to the next MTA then in the email log it is shown as `relayed`.\n\n## Dependencies\n\nThis module needs `mod_email_status`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzotonic%2Fzotonic_mod_mailgun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzotonic%2Fzotonic_mod_mailgun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzotonic%2Fzotonic_mod_mailgun/lists"}