{"id":16936513,"url":"https://github.com/jonhoo/hasmail","last_synced_at":"2026-02-27T03:01:13.244Z","repository":{"id":7046165,"uuid":"8324852","full_name":"jonhoo/hasmail","owner":"jonhoo","description":"Simple tray icon for detecting new email on IMAP servers","archived":false,"fork":false,"pushed_at":"2023-08-13T09:22:58.000Z","size":37,"stargazers_count":30,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-14T15:42:56.019Z","etag":null,"topics":["email","imap","notifications","systray","utility"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/jonhoo.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}},"created_at":"2013-02-20T23:45:45.000Z","updated_at":"2023-11-17T18:41:38.000Z","dependencies_parsed_at":"2024-10-28T13:18:39.359Z","dependency_job_id":"b1e5bd0a-ed1c-4406-a054-fefce258bafa","html_url":"https://github.com/jonhoo/hasmail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonhoo/hasmail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fhasmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fhasmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fhasmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fhasmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonhoo","download_url":"https://codeload.github.com/jonhoo/hasmail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fhasmail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"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","imap","notifications","systray","utility"],"created_at":"2024-10-13T20:57:12.096Z","updated_at":"2026-02-27T03:01:13.228Z","avatar_url":"https://github.com/jonhoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"**This project has been rewritten in Rust, and is now maintained under https://github.com/jonhoo/buzz/.**\n\n---\n\n# Introduction #\n\nUsing mutt (or pine), but annoyed that it doesn't give you any notifications\nwhen you've received new emails? hasmail is a simple tray application that\ndetects new emails on IMAP servers using IDLE (push rather than pull). When it\ndetects unseen messages, it shows a OSD style notification and changes the tray\nicon to indicate that you have new mail.\n\nWhen hovering the mouse over the tray icon, hasmail shows which of the\nconfigured accounts have unseen messages. Clicking the icon executes a\nuser-defined command.\n\n# Configuration #\n\nhasmail looks for `~/.hasmailrc` and expects a file in simple INI syntax. The\nconfiguration file consists of (currently) one global option and one or more\naccounts, each with multiple fields.\n\n## Global fields ##\n\n - click: this command will be executed when clicking the tray icon\n\n## Account fields ##\n\nThe value in [] can be anything, and will be what is shown in the tooltip. The\noptions for an account are as follows:\n\n - hostname: The address (+ port) to connect to. MUST currently be SSL/TLS\n   enabled. Required.\n - username: Username for authentication. Required.\n - password: Command to execute to get password for authentication. Required.\n - click: An optional command to execute when clicking the tray icon if this,\n   and only this, account has new messages. If this option is present, it\n   overrides the global click option in the described scenario.\n - folder: What folder to check for new messages. INBOX is the default.\n - poll: How often (in minutes) to force a recheck of the account. By default it\n\t is set to 29 (as suggested in the spec) to avoid the server disconnecting us\n\t due to inactivity.\n\n# Installation #\n\nAssuming you've checked this out into `$GOPATH/src/hasmail`, just run\n`go install hasmail`. If your path is set up correctly, you should be able to\nrun `hasmail` and get the message \"Failed to load configuration file,\nexiting...\". Create your config and you're ready!\n\nIf you're lucky enough to be running [Arch Linux](https://www.archlinux.org/),\nyou can just install the package from [the\nAUR](https://aur.archlinux.org/packages/hasmail/) or run `makepkg` in `pkg/`.\n\n# Major dependencies #\n\n - https://github.com/mattn/go-gtk/\n - http://code.google.com/p/go-imap/\n - https://github.com/dlintw/goconf/\n\n# License #\n\nUse this code for whatever you want if you find it useful. You don't need to put\nany attribution (even though I'd be happy if you did), but please let me know if\nyou use it for anything interesting!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Fhasmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonhoo%2Fhasmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Fhasmail/lists"}