{"id":18738405,"url":"https://github.com/robinboers/sendmail","last_synced_at":"2025-08-16T11:33:27.283Z","repository":{"id":230968534,"uuid":"780489731","full_name":"RobinBoers/sendmail","owner":"RobinBoers","description":"Program to send emails from the CLI.","archived":false,"fork":false,"pushed_at":"2025-04-25T22:30:11.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-05-20T03:12:08.459Z","etag":null,"topics":["cli","mail","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/RobinBoers.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-01T15:36:27.000Z","updated_at":"2025-05-01T13:24:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2b2e9fc-a10d-4889-96e4-9185a4f0821a","html_url":"https://github.com/RobinBoers/sendmail","commit_stats":null,"previous_names":["robinboers/sendmail"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobinBoers/sendmail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBoers%2Fsendmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBoers%2Fsendmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBoers%2Fsendmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBoers%2Fsendmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobinBoers","download_url":"https://codeload.github.com/RobinBoers/sendmail/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBoers%2Fsendmail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270706179,"owners_count":24631625,"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-08-16T02:00:11.002Z","response_time":91,"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":["cli","mail","rust"],"created_at":"2024-11-07T15:29:10.621Z","updated_at":"2025-08-16T11:33:27.259Z","avatar_url":"https://github.com/RobinBoers.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sendmail\n\nThis is a CLI wrapper for the amazing [`lettre`](https://lettre.rs) crate. It allows you to easiliy send email without leaving the comfort of your shell.\n\n## Configuration\n\n`sendmail` expects a configuration file for each account in the TOML format, located in `$XDG_CONFIG_HOME/sendmail` (defaults to `.config/sendmail`). Here's an example configuration:\n\n```toml\n# .config/sendmail/school\n\nname = \"Robin Boers\"\nemail = \"4410@schravenlant.nl\"\n\n[smtp]\nhostname = \"smtp.gmail.com\"\nport = 587\nusername = \"4410@schravenlant.nl\"\n```\n\nThe password is passed via the CLI, because I'm not comfortable with having credentials in plain text on my computer.\n\n## Usage\n\nWith the configuration from above:\n\n```shell\nsendmail school hello-world.md \\\n  --subject \"Hello World!\" \\\n  --to \"hor@schravenlant.nl\" \\\n  --to \"you@example.com\" \\\n  --password \"$(pass mail/school)\" \\\n  --attach assignment.pdf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinboers%2Fsendmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinboers%2Fsendmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinboers%2Fsendmail/lists"}