{"id":31009332,"url":"https://github.com/robhurring/tmail-metas","last_synced_at":"2025-09-13T04:34:11.135Z","repository":{"id":503284,"uuid":"130548","full_name":"robhurring/tmail-metas","owner":"robhurring","description":"Can strip meta tags from e-mail messages parsed with TMail -- as a TMail plugin","archived":false,"fork":false,"pushed_at":"2009-02-17T03:28:59.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-03T01:55:42.335Z","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/robhurring.png","metadata":{"files":{"readme":"README.rdoc","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":"2009-02-17T02:27:53.000Z","updated_at":"2019-08-13T14:01:26.000Z","dependencies_parsed_at":"2022-08-16T10:25:28.188Z","dependency_job_id":null,"html_url":"https://github.com/robhurring/tmail-metas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robhurring/tmail-metas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Ftmail-metas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Ftmail-metas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Ftmail-metas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Ftmail-metas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robhurring","download_url":"https://codeload.github.com/robhurring/tmail-metas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Ftmail-metas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274919731,"owners_count":25373953,"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-09-13T02:00:10.085Z","response_time":70,"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-09-13T04:34:09.163Z","updated_at":"2025-09-13T04:34:11.124Z","avatar_url":"https://github.com/robhurring.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"=TMail Meta Data Functionality\n\nAllows you to include extra data within the body of e-mail messages for use in automated parsing through TMail.\n\n=Settings\n\nIf you need to override the default scanner you can run this:\n\n  TMail::Metas.scanner = /Metas\\((.*)\\)/\n  TMail::Metas.scanner_options = {:seperator =\u003e ':', :group_seperator =\u003e ','}\n  \n  # which will look for this:\n  # Metas(project_id:12,type:message)\n\n=Example\n\n  %w{pp rubygems tmail tmail_metas}.each { |lib| require lib }\n\n  EMAIL = \u003c\u003c-end\n  To: you@example.com\n  From: me@example.com\n  Subject: This is my automated email\n\n  This is an email which will be automatically handled by a ruby script!\n  The body will be stripped of these meta tags while they are made available\n  in the mail.metas hash.\n\n  {{project_id=12345\u0026category=Incoming Emails\u0026create=message}}\n\n  end\n\n  mail = TMail::Mail.parse(EMAIL)\n\n  pp mail.metas # =\u003e {\"category\"=\u003e\"Incoming Emails\", \"project_id\"=\u003e\"12345\", \"create\"=\u003e\"message\"}\n  pp mail.body  # =\u003e (body with the {{...}} metas stripped)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobhurring%2Ftmail-metas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobhurring%2Ftmail-metas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobhurring%2Ftmail-metas/lists"}