{"id":31702013,"url":"https://github.com/getlantern/auto-responder-ruby","last_synced_at":"2025-10-16T11:05:01.397Z","repository":{"id":35662368,"uuid":"39937485","full_name":"getlantern/auto-responder-ruby","owner":"getlantern","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-20T22:36:48.000Z","size":30,"stargazers_count":3,"open_issues_count":3,"forks_count":3,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-04-15T03:25:38.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/getlantern.png","metadata":{"files":{"readme":"README.md","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":"2015-07-30T07:34:15.000Z","updated_at":"2020-08-13T03:18:37.000Z","dependencies_parsed_at":"2023-02-12T06:15:46.252Z","dependency_job_id":null,"html_url":"https://github.com/getlantern/auto-responder-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getlantern/auto-responder-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fauto-responder-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fauto-responder-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fauto-responder-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fauto-responder-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getlantern","download_url":"https://codeload.github.com/getlantern/auto-responder-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fauto-responder-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000716,"owners_count":26082837,"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-08T02:00:06.501Z","response_time":56,"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":"2025-10-08T21:10:58.947Z","updated_at":"2025-10-08T21:11:01.407Z","avatar_url":"https://github.com/getlantern.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple Ruby program to monitor an mail account on gmail.com through IMAP and send response automatically.\n\nMake sure you have done following to the mail account to monitor.\n\n1. Enable IMAP (https://mail.google.com/mail/u/0/#settings/fwdandpop)\n2. DISABLED 2 step verification for the mail account. (https://myaccount.google.com/u/0/security)\n3. Turn \"Allow less secure apps\" option to \"ON\" at the same page as 2.\n4. Try lanching the responder, it will fail with something like below:\n`in `get_tagged_response': Unknown command g188mb26130086qkb (Net::IMAP::BadResponseError) `\n5. Visit https://g.co/allowaccess to allow access, and restart the responder.\n\nGmail has limits on total mail sent per day. For production, we should use 3rd party services, say, Mandrill.\n\n# Run\n\nRuby \u003e 2.0.0 is required\n\nYou need a set of environment variables to configure it to run\n```\n# To check new mail via IMAP\nexport EMAIL_ACCOUNT=xxx\nexport EMAIL_PASSWORD=xxx\n# To send mail using Mandrill service\nexport MANDRILL_API_KEY='xxx'\nexport REPLY_FROM_ADDR ='aaa@bbb.com'\nexport REPLY_FROM_NAME ='John Smith'\nexport BODY_TEXT_URL=http://xxx\nexport BODY_HTML_URL=http://xxx\nexport ATTACHMENT_URL=http://xxx # optional, set to attach binary in response mail\n# To Add to Mailchimp list\nexport MAILCHIMP_API_KEY=xxx\nexport MAILCHIMP_LIST_ID=xxx\nexport MAILCHIMP_LANG=xx  #[Full list of language codes](http://kb.mailchimp.com/lists/managing-subscribers/view-and-edit-subscriber-languages#Language-Codes)\n\nbundle install\nbundle exec ruby main.rb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlantern%2Fauto-responder-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetlantern%2Fauto-responder-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlantern%2Fauto-responder-ruby/lists"}