{"id":29188633,"url":"https://github.com/mikedilger/email-format","last_synced_at":"2025-09-07T14:40:52.787Z","repository":{"id":57624541,"uuid":"68247476","full_name":"mikedilger/email-format","owner":"mikedilger","description":"Email data structure and builder for streaming emails","archived":false,"fork":false,"pushed_at":"2022-07-27T21:15:28.000Z","size":1017,"stargazers_count":18,"open_issues_count":14,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-02T01:38:15.479Z","etag":null,"topics":["email","email-parsing","email-validation"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikedilger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-14T22:11:27.000Z","updated_at":"2024-11-20T00:06:21.000Z","dependencies_parsed_at":"2022-08-26T22:12:34.767Z","dependency_job_id":null,"html_url":"https://github.com/mikedilger/email-format","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/mikedilger/email-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikedilger%2Femail-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikedilger%2Femail-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikedilger%2Femail-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikedilger%2Femail-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikedilger","download_url":"https://codeload.github.com/mikedilger/email-format/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikedilger%2Femail-format/sbom","scorecard":{"id":645413,"data":{"date":"2025-08-11","repo":{"name":"github.com/mikedilger/email-format","commit":"44faedbe246d8705d593365d1df05e782f7a884e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T12:02:07.492Z","repository_id":57624541,"created_at":"2025-08-21T12:02:07.493Z","updated_at":"2025-08-21T12:02:07.493Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274050426,"owners_count":25213847,"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-07T02:00:09.463Z","response_time":67,"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":["email","email-parsing","email-validation"],"created_at":"2025-07-01T22:36:26.535Z","updated_at":"2025-09-07T14:40:52.743Z","avatar_url":"https://github.com/mikedilger.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# email-format\n\n\"Internet Message Format\" meticulously implemented for email construction\nand validation, as defined in RFC 5322 and other RFCs.\n\n[Documentation (released)](https://docs.rs/email-format)\n\n[Documentation (master)](https://mikedilger.github.io/email-format)\n\n## Features\n\n* **Parses** bytes into an Email structure (represented internally as a tree) and validates\n  RFC 5322 \"Internet Message Format\" compliance.\n  * Extensive RFC 5322 Parser/validator: If you generate an email using this crate, you are\n    guaranteed that will be a valid RFC 5322 formatted email, or else you will get a ParseError.\n    The only exception that I am currently aware of is that lines can be longer than 998\n    characters (see issue #3).\n* **Streams** an Email structure back into bytes.\n* **Generates and modifies** Email structures using functions like `set_subject()`,\n  `get_from()`, `clear_reply_to()`, `add_optional_field()`, etc.\n* Integrates with [lettre](https://github.com/lettre/lettre)\n  (enable optional feature `lettre`)\n  and [mailstrom](https://github.com/mikedilger/mailstrom)\n* Supports [chrono](https://github.com/chronotope/chrono) `DateTime`\n  and [time](https://github.com/rust-lang/time) `Tm` for setting the `Date` field\n  (enable optional feature `chrono` and/or `time`)\n\n## Limitations\n\n* Valid emails are 7-bit ASCII, and this crate requires all content to be 7-bit ASCII.\n  The proper way to send richer content is to use a transfer encoding, and to set a\n  `content-transfer-encoding` header. We don't yet offer any help in this regard, beyond\n  the ability to add_optional_field(). You'll have to manage the encoding yourself.\n  We plan to add convenience functions for this eventually (see issue #19)\n* Obsolete email formats are not implemented in the parser. Therefore, it is not sufficient\n  for parsing inbound emails if you need to recognize formats that were obsoleted in 2008.\n\n## Plans (not yet implemented)\n\n* Support for content-transfer-encodings (unicode via Quoted Printable or Base64 or otherwise)\n* Support for email headers defined in other RFCs:\n  * Support for RFC 6854 (updated From and Sender syntax)\n  * Support for all headers registered at IANA (http://www.iana.org/assignments/message-headers/message-headers.xhtml)\n* Support for MIME (RFC 2045, RFC 4021, RFC 2231, RFC 6352) using\n  [mime_multipart](https://github.com/mikedilger/mime-multipart)\n* Support for streaming of MIME parts from disk.\n\n## History\n\nThis project was inspired by the earlier [email](https://github.com/niax/rust-email) crate,\nbut was reworked from scratch due to a number of significant differences in design,\nimplementation and interface.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikedilger%2Femail-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikedilger%2Femail-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikedilger%2Femail-format/lists"}