{"id":21482612,"url":"https://github.com/rimian/action_mailbox_debug","last_synced_at":"2026-05-19T17:13:42.400Z","repository":{"id":59150247,"uuid":"325165894","full_name":"rimian/action_mailbox_debug","owner":"rimian","description":"Debugging Action Mailbox","archived":false,"fork":false,"pushed_at":"2020-12-30T00:33:52.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T00:08:19.484Z","etag":null,"topics":["actionmailbox","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/rimian.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":"2020-12-29T02:27:26.000Z","updated_at":"2020-12-30T00:33:55.000Z","dependencies_parsed_at":"2022-09-13T11:00:22.197Z","dependency_job_id":null,"html_url":"https://github.com/rimian/action_mailbox_debug","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/rimian%2Faction_mailbox_debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimian%2Faction_mailbox_debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimian%2Faction_mailbox_debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimian%2Faction_mailbox_debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimian","download_url":"https://codeload.github.com/rimian/action_mailbox_debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006303,"owners_count":20382443,"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":["actionmailbox","ruby","ruby-on-rails"],"created_at":"2024-11-23T12:34:44.130Z","updated_at":"2026-05-19T17:13:42.360Z","avatar_url":"https://github.com/rimian.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action Mailbox Debug\n\nThis is a helper to debug Action Mailbox. It's not suitable for running on production servers.\n\nIf you have problems with action mailbox and you need to debug it, download your eml file and run it through this gem.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'action_mailbox_debug'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install action_mailbox_debug\n\n## Usage\n\n```ruby\ninclude ActionMailboxDebug::InboundEmail\ncreate_inbound_email_from_file! 'tmp/test.eml'\n```\n\nThis will return an `ActionMailbox::InboundEmail` object or fail if it already exists.\n\nYou may wish to do something to the file beforehand\n\n```ruby\ninclude ActionMailboxDebug::InboundEmail\ncreate_inbound_email_from_file! 'tmp/test.eml' do |file|\n  file.sub('__subject__', 'testing')\nend\n```\n\nThen, you can route the inbound email and fix any errors you might have:\n\n```ruby\ninbound_mail.route\n```\nOr:\n```ruby\nActionMailbox::RoutingJob.perform_now inbound_mail\n```\n\n## Known issues\n\nThe [helper](https://edgeapi.rubyonrails.org/classes/ActionMailbox/InboundEmail/MessageId.html#method-i-create_and_extract_message_id-21) fails silently and returns `nil` if a message already exists with the same id. Bummer!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimian%2Faction_mailbox_debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimian%2Faction_mailbox_debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimian%2Faction_mailbox_debug/lists"}