{"id":26509752,"url":"https://github.com/readysteady/mailgunner","last_synced_at":"2026-03-07T17:33:00.136Z","repository":{"id":6175703,"uuid":"7405719","full_name":"readysteady/mailgunner","owner":"readysteady","description":"Ruby client for the Mailgun API","archived":false,"fork":false,"pushed_at":"2025-01-02T11:42:37.000Z","size":173,"stargazers_count":27,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-01-31T16:42:47.160Z","etag":null,"topics":["actionmailer","mailgun","mailgun-api","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/mailgunner","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mgebundy/meteor-machina","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/readysteady.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2013-01-02T11:21:50.000Z","updated_at":"2026-01-21T08:18:58.000Z","dependencies_parsed_at":"2024-01-11T19:49:36.764Z","dependency_job_id":"4663ff9a-85ce-4543-a291-0ac45f45eea1","html_url":"https://github.com/readysteady/mailgunner","commit_stats":{"total_commits":211,"total_committers":6,"mean_commits":"35.166666666666664","dds":"0.028436018957345932","last_synced_commit":"ce7ea9d028ebe98f5e41fd617ed2d1f5c5ed9aa5"},"previous_names":["timcraft/mailgunner"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/readysteady/mailgunner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fmailgunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fmailgunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fmailgunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fmailgunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/readysteady","download_url":"https://codeload.github.com/readysteady/mailgunner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fmailgunner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29489340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"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":["actionmailer","mailgun","mailgun-api","ruby"],"created_at":"2025-03-21T01:36:08.184Z","updated_at":"2026-03-07T17:33:00.096Z","avatar_url":"https://github.com/readysteady.png","language":"Ruby","readme":"# mailgunner\n\n![Gem Version](https://badge.fury.io/rb/mailgunner.svg)\n![Test Status](https://github.com/readysteady/mailgunner/actions/workflows/test.yml/badge.svg)\n\n\nRuby client for the [Mailgun API](https://documentation.mailgun.com/en/latest/api_reference.html).\n\n\n## Installation\n\n    $ gem install mailgunner\n\n\n## Usage\n\n```ruby\nrequire 'mailgunner'\n\nMailgunner.configure do |config|\n  config.domain = 'samples.mailgun.org'\n  config.api_key = 'key-3ax6xnjp29jd6fds4gc373sgvjxteol0'\nend\n\nmailgun = Mailgunner::Client.new\n\nmailgun.get_domains.items.each do |item|\n  puts \"#{item.id} #{item.name}\"\nend\n```\n\n\n## Storing the API key\n\nBest practice for credentials is to [store them in the environment](https://www.12factor.net/config#store_config_in_the_environment).\n`Mailgunner::Client` defaults to extracting the domain and api_key values it needs\nfrom the `MAILGUN_API_KEY` and `MAILGUN_SMTP_LOGIN` environment variables—these will\nexist if you are using Mailgun on Heroku, or you can set them manually.\n\n\n## ActionMailer integration\n\nMailgunner integrates with [ActionMailer](https://rubygems.org/gems/actionmailer).\nIf you are using Rails, you can use Mailgunner to send mail via Mailgun by adding\nthe following line to `config/environments/production.rb`:\n\n```ruby\nconfig.action_mailer.delivery_method = :mailgun\n```\n\nIf for some reason you can't set the required ENV variables, you can configure Mailgunner\nthrough ActionMailer settings:\n\n```ruby\nconfig.action_mailer.mailgun_settings = {\n  domain: 'test.com',\n  api_key: 'your-api-key'\n}\n```\n\nOutside of Rails you can set `ActionMailer::Base.delivery_method` directly.\n\n\n## Specifying the region\n\nMailgun offers both a US and EU region to send your email from. Mailgunner uses\nthe US region by default. If you wish to use the EU region set the `api_host`\nconfig option like so:\n\n```ruby\nMailgunner.configure do |config|\n  config.api_host = 'api.eu.mailgun.net'\nend\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadysteady%2Fmailgunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freadysteady%2Fmailgunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadysteady%2Fmailgunner/lists"}