{"id":50756314,"url":"https://github.com/visorcraft/mailspring_inbox_rightclick","last_synced_at":"2026-06-11T05:03:55.549Z","repository":{"id":358917417,"uuid":"1243689437","full_name":"visorcraft/mailspring_inbox_rightclick","owner":"visorcraft","description":"Adds right click context menu to inboxes","archived":false,"fork":false,"pushed_at":"2026-05-19T15:32:06.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-19T18:47:59.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visorcraft.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-19T15:13:14.000Z","updated_at":"2026-05-19T15:42:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/visorcraft/mailspring_inbox_rightclick","commit_stats":null,"previous_names":["visorcraft/mailspring_inbox_rightclick"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/visorcraft/mailspring_inbox_rightclick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visorcraft%2Fmailspring_inbox_rightclick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visorcraft%2Fmailspring_inbox_rightclick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visorcraft%2Fmailspring_inbox_rightclick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visorcraft%2Fmailspring_inbox_rightclick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visorcraft","download_url":"https://codeload.github.com/visorcraft/mailspring_inbox_rightclick/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visorcraft%2Fmailspring_inbox_rightclick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34183109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","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":[],"created_at":"2026-06-11T05:03:55.041Z","updated_at":"2026-06-11T05:03:55.535Z","avatar_url":"https://github.com/visorcraft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inbox Mark All Read Context Menu\n\nA small Mailspring plugin that adds `Mark All as Read` to the Inbox right-click menu in the account sidebar.\n\nMailspring has an `Edit \u003e Mark All as Read` command, but in current builds it only acts on unread threads that are loaded in the visible thread list. This plugin queries every unread thread in the clicked inbox category and queues Mailspring's normal read-state sync tasks.\n\n## What It Does\n\n- Adds `Mark All as Read` when you right-click an `Inbox` sidebar item.\n- Supports the unified `Inbox` item and per-account inbox items nested beneath it.\n- Preserves Mailspring's existing `Export folder as .eml files...` action for single-account inboxes.\n- Uses Mailspring's own `ChangeUnreadTask`, so read-state changes sync through Mailspring normally.\n\n## Install\n\n### From Mailspring\n\n1. Download or clone this repository.\n2. In Mailspring, open `Developer \u003e Install a Plugin...`.\n3. Choose this plugin folder.\n4. Restart Mailspring.\n\n### Manual Install\n\nCopy this folder into Mailspring's `packages` directory, then restart Mailspring.\n\nCommon locations:\n\n```text\nLinux Flatpak:\n~/.var/app/com.getmailspring.Mailspring/config/Mailspring/packages/inbox-mark-all-read-context-menu\n\nLinux non-Flatpak:\n~/.config/Mailspring/packages/inbox-mark-all-read-context-menu\n\nmacOS:\n~/Library/Application Support/Mailspring/packages/inbox-mark-all-read-context-menu\n\nWindows:\n%APPDATA%\\Mailspring\\packages\\inbox-mark-all-read-context-menu\n```\n\n## Development\n\nThis plugin has no npm dependencies.\n\n```bash\nnpm test\n```\n\n## Notes\n\nMailspring does not currently expose a first-class plugin API for adding actions to existing sidebar context menus. This plugin uses a small DOM-level context-menu hook against the sidebar tree. It is intentionally narrow: it only intercepts recognized Inbox rows and leaves other sidebar right-click menus alone.\n\nIf Mailspring shows an unread count that does not correspond to any unread thread, that is a stale local cache/count issue rather than a context-menu issue. Use `Preferences \u003e General \u003e Local Data \u003e Reset Cache` to rebuild Mailspring's local mail database without deleting accounts or settings.\n\nTested with Mailspring 1.21.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisorcraft%2Fmailspring_inbox_rightclick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisorcraft%2Fmailspring_inbox_rightclick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisorcraft%2Fmailspring_inbox_rightclick/lists"}