{"id":17059067,"url":"https://github.com/rjarry/notmuch-gmail","last_synced_at":"2025-04-12T17:51:15.218Z","repository":{"id":46233227,"uuid":"117216827","full_name":"rjarry/notmuch-gmail","owner":"rjarry","description":"Bidirectional sync of Gmail messages with notmuch database","archived":false,"fork":false,"pushed_at":"2024-10-30T21:08:46.000Z","size":54,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T12:11:31.605Z","etag":null,"topics":["gmail","notmuch","oauth2"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/rjarry.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}},"created_at":"2018-01-12T08:46:50.000Z","updated_at":"2025-03-06T06:57:51.000Z","dependencies_parsed_at":"2024-10-30T22:18:08.445Z","dependency_job_id":"11d82e9c-4bb1-4c61-a639-05ac7b9cc032","html_url":"https://github.com/rjarry/notmuch-gmail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjarry%2Fnotmuch-gmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjarry%2Fnotmuch-gmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjarry%2Fnotmuch-gmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjarry%2Fnotmuch-gmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjarry","download_url":"https://codeload.github.com/rjarry/notmuch-gmail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610409,"owners_count":21132920,"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":["gmail","notmuch","oauth2"],"created_at":"2024-10-14T10:32:29.458Z","updated_at":"2025-04-12T17:51:15.198Z","avatar_url":"https://github.com/rjarry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notmuch-gmail\n\nBidirectional sync of Gmail messages with a notmuch database.\n\n![Logo](logo.png)\n\n## Description\n\n`notmuch-gmail` is a command line application that can pull email and labels\n(and changes to labels) from your Gmail account and store them locally in a\nmaildir with the labels synchronized with a notmuch database. The changes to\ntags in the notmuch database may be pushed back remotely to your Gmail account.\n\n## Installation\n\n```\ngit clone https://git.sr.ht/~rjarry/notmuch-gmail\ncd notmuch-gmail\npython3 -m pip install -e .\n```\n\nNB: notmuch python bindings must be installed first (e.g. `apt install\npython3-notmuch`)\n\n## Quickstart\n\nRun this in a terminal and follow the instructions:\n\n```\nnotmuch-gmail\n```\n\nThe first sync will take a long time. After which you should run the same\ncommand in your user's crontab:\n\n```\n*/5 * * * * notmuch-gmail --logfile ~/.notmuch-gmail.log\n```\n\nOr run it manually when needed.\n\n## Configuration \u0026 Advanced Usage\n\nThe default configuration file is loaded from `~/.notmuch-gmail-config`. You\ncan initialize the file with the following command:\n\n```\nnotmuch-gmail --defconfig \u003e ~/.notmuch-gmail-config\n```\n\nAnd open it with an editor.\n\n## Privacy Policy\n\n* `notmuch-gmail` is a **local** command line application. It uses OAuth2 to\n  access your Gmail data and will **NOT** share anything with anyone.\n\n* `notmuch-gmail` uses the Gmail web API to access (READ) your messages and\n  labels.\n\n* `notmuch-gmail` uses the Gmail web API to change (ADD, REMOVE) the labels\n  associated with messages.\n\n* `notmuch-gmail` uses the Gmail web API to change (ADD, REMOVE) your Gmail\n  labels.\n\n* `notmuch-gmail` uses the Gmail web API to add (INSERT) new DRAFT and SENT\n  messages.\n\n* `notmuch-gmail` will not and can not:\n\n  - Add or delete messages on your remote account (except syncing the `trash`\n    or `spam` label to messages, and those messages will eventually be\n    [deleted](https://support.google.com/mail/answer/7401?co=GENIE.Platform%3DDesktop\u0026hl=en))\n\n  - Modify messages other than their labels\n\n* `notmuch-gmail` is free software released under the [MIT\n  license](https://opensource.org/licenses/MIT) and comes with **NO\n  WARRANTIES**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjarry%2Fnotmuch-gmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjarry%2Fnotmuch-gmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjarry%2Fnotmuch-gmail/lists"}