{"id":19001483,"url":"https://github.com/bumi/mailman","last_synced_at":"2025-10-10T21:42:20.805Z","repository":{"id":66382351,"uuid":"480986","full_name":"bumi/mailman","owner":"bumi","description":"A little man who helps you getting emails from your imap account...","archived":false,"fork":false,"pushed_at":"2010-01-20T18:52:26.000Z","size":72,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:03:11.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bumi.png","metadata":{"files":{"readme":"readme.mdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-01-20T18:41:09.000Z","updated_at":"2017-06-06T00:48:41.000Z","dependencies_parsed_at":"2023-02-20T03:05:16.646Z","dependency_job_id":null,"html_url":"https://github.com/bumi/mailman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bumi/mailman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fmailman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fmailman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fmailman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fmailman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bumi","download_url":"https://codeload.github.com/bumi/mailman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fmailman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005420,"owners_count":26083883,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-11-08T18:11:21.606Z","updated_at":"2025-10-10T21:42:20.768Z","avatar_url":"https://github.com/bumi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mailman\n=============\n\nMailman is a little script that helps you dealing with imap mail accounts. \n\nExample 1:\n--------------\n\n    mailman = Mailman.new({\n        :server =\u003e \"...\",\n        :port =\u003e 143,\n        :use_ssl =\u003e false,\n        :username =\u003e \"...\",\n        :password =\u003e \"...\",\n        :logger =\u003eLogger.new(\"log/mail_import.log\"), \n        :on_exception =\u003e Proc.new{|e| HoptoadNotifier.notify(e)}}\n      )\n  \n    mailman.with(\"INBOX\") do\n      emails([\"SUBJECT\", \"keyword\"]).each do |message_id, email|\n        if Importers::Mail.receive(email)\n          copy(message_id,\"INBOX.imported\")\n          store(message_id, [:Seen, :Deleted])\n          log \"successfully imported email ##{message_id}\"\n        else\n          log \"could not import email ##{message_id}\"\n          HoptoadNotifier.notify({ :error_class =\u003e \"Mailman Import Error #{message_id}\", :request =\u003e {:params =\u003e {:message_id =\u003e message_id }}})\n          copy(message_id,\"INBOX.not_imported\")\n          store(message_id, [:Seen, :Deleted])\n        end\n        expunge\n      end\n    end\n  \n\nExample 2:\n--------------\n  \n    mailman = Mailman.new({\n        :server =\u003e \"...\",\n        :port =\u003e 143,\n        :use_ssl =\u003e false,\n        :username =\u003e \"...\",\n        :password =\u003e \"...\",\n        :logger =\u003eLogger.new(\"log/mail_import.log\"), \n        :on_exception =\u003e Proc.new{|e| HoptoadNotifier.notify(e)}}\n      )\n  \n    mailman.login\n    mailman.select \"INBOX\"\n    mailman.emails.each do |id,email|\n      ...\n    end\n    mailman.quit\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Fmailman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbumi%2Fmailman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Fmailman/lists"}