HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
gauteh
lieer
Python2017–2024
gauteh / lieer

lieer

Fast email-fetching, sending, and two-way tag synchronization between notmuch and GMail

11Distinct people
16Mentions
0Explicit recommenders
657GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Fast email-fetching, sending, and two-way tag synchronization between notmuch and GMail

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year16 dated mentions

Observed mentions: 2017-12-18 19:29:58 UTC to 2024-12-21 11:15:30 UTC.

02462017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC303
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC606
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC404

What Hacker News says

16 sources
Put everything into a single notmuchmail database. It wil deduplicate the emails and even provide a fast local search interface for all of your mails https://notmuchmail.org/ For gmail you can use lieer to pull everything https://github.com/gauteh/lieer (tho it can take hours to pull everything). Fastmail has a similar tool https://github.com/elizagamedev/mujmap If you unpack tour mbox into maildir then you can import that too into notmuch After everything is in notmuch you can easily push your mail to fastmail with isync/mbsync https://isync.sourceforge.io/ As a bonus point you now also have a easily updatable local backup of your e-mails.
In Integrating with Fastmail
Would something like gmailieer[0][1] be affected? (Or, in general, FOSS software for syncing with one's gmail data.) It uses some of the "restricted" scopes[2]. Also, what does the verification as "non-malicious software" entail? [0] https://github.com/gauteh/gmailieer/ [1] A cli program that downloads one's (i.e. the user's) gmail e-mails onto one's computer (without touching any third-party servers on the way) — it's effectively a better offlineimap for gmail, for use with notmuch.[3] [2] https://support.google.com/cloud/answer/9110914#restricted-s... [3] http://notmuchmail.org/
In Elevating user trust in our API ecosystem
If you're using notmuch and Gmail, I'd recommend taking a look at gmailieer - https://github.com/gauteh/gmailieer. It uses the Gmail API to fetch mail into a local maildir and keeps the tags synced bidirectionally. The downside is that for whatever reason the Gmail API doesn't support the mute label, so having that tag sync is not possible. (If a Googler reads this, please fix that! For others, there's already an issue filed as referenced in the gmailieer readme.)
In Guide to email in Emacs using mu and mu4e
Another option is to keep a local mirror of your gmail, this can be one or two way and with or without tags. https://github.com/gauteh/gmailieer and http://isync.sourceforge.net/ are tools I've used for this. isync/mbsync is a high performance IMAP based syncing tool that works well with for large mail spools. gmailieer uses the gmail API so it only works with gmail but has good support for two-way tag syncing. Some advantages of this approach are very fast local access and and the ability to use your preferred local indexing and tagging tools (notmuch under emacs in my case). PS, I forgot that gmailieer is notmuch-only but I think some mutt users use notmuch for indexing so it could still be useful.
In Using gmail with mutt (2016)

Showing the 15 most recent of 16 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.