{"id":13479118,"url":"https://github.com/eikendev/tbunread","last_synced_at":"2025-05-06T19:28:45.281Z","repository":{"id":57669335,"uuid":"370826761","full_name":"eikendev/tbunread","owner":"eikendev","description":"Helps you to keep an eye on unread emails in Thunderbird 📬:fire:","archived":false,"fork":false,"pushed_at":"2023-02-11T18:49:27.000Z","size":71,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T19:06:28.576Z","etag":null,"topics":["thunderbird","unread-emails","unread-mails","unread-messages"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/tbunread","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eikendev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-25T21:02:02.000Z","updated_at":"2023-12-20T15:09:34.000Z","dependencies_parsed_at":"2022-09-26T20:40:51.771Z","dependency_job_id":"7c80380f-8506-4523-b2cf-fd609654cd54","html_url":"https://github.com/eikendev/tbunread","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"de915bf17cfa684976b3a2322148e9a8c7512eec"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Ftbunread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Ftbunread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Ftbunread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Ftbunread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eikendev","download_url":"https://codeload.github.com/eikendev/tbunread/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252752431,"owners_count":21798797,"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","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":["thunderbird","unread-emails","unread-mails","unread-messages"],"created_at":"2024-07-31T16:02:09.818Z","updated_at":"2025-05-06T19:28:45.256Z","avatar_url":"https://github.com/eikendev.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![Build status](https://img.shields.io/github/actions/workflow/status/eikendev/tbunread/main.yml?branch=main)](https://github.com/eikendev/tbunread/actions)\n[![License](https://img.shields.io/crates/l/tbunread)](https://crates.io/crates/tbunread)\n[![Version](https://img.shields.io/crates/v/tbunread)](https://crates.io/crates/tbunread)\n[![Downloads](https://img.shields.io/crates/d/tbunread)](https://crates.io/crates/tbunread)\n\n## About\n\nThis script outputs how many emails are unread in each account of Thunderbird.\nIt will automatically detect your default Thunderbird profile.\n\n## Usage\n\n```\n$ tbunread --output /where/you/need/the/output\n[...] Watching /path/to/my/.thunderbird/some.profile/ImapMail/tbunread\n6 1 1 2\n5 1 1 2\n5 1 2 2\n```\n\nTo use the script you have to provide it with the email accounts you want to query.\nThis is done by creating symbolic links in a `tbunread` directory inside the `ImapMail` directory of Thunderbird.\nThe symbolic links point to one of the IMAP directories (POP3 is not supported).\nBy naming the links in the alphabetical order of your choice you can also choose the order of the output.\n\nHere is an example of how it might look inside a `tbunread` directory:\n```\n$ pwd\n/path/to/my/.thunderbird/some.profile/ImapMail/tbunread\n$ ls -lA\nlrwxrwxrwx. (...) 01 -\u003e ../mail.example1.com\nlrwxrwxrwx. (...) 02 -\u003e ../mail.example2.com\nlrwxrwxrwx. (...) 03 -\u003e ../mail.example3.com\n```\n\n## Installation\n\n### From crates.io\n\n```bash\ncargo install tbunread\n```\n\n## Recommended Setup\n\nI recommend using [systemd](https://systemd.io/) to run the script.\nSee below for an example on how the service file should look like.\n\n```ini\n[Unit]\nDescription=tbunread\n\n[Service]\nType=simple\nExecStart=tbunread --output /where/you/need/the/output\nRestart=on-success\nRestartSec=5s\n\n[Install]\nWantedBy=default.target\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feikendev%2Ftbunread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feikendev%2Ftbunread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feikendev%2Ftbunread/lists"}