Gmail to SQLite

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. gmvault

    gmail backup software

    > the link to gmvault in your readme is now a dead end, is this it https://github.com/gaubert/gmvault.

    Funnily enough, the gmvault.org domain _that_ page points to is simply a parked GoDaddy placeholder. It's also not been updated in 10+ years except for two non-source files.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. gmail-to-sqlite

    Index your Gmail account to a SQLite DB and play with the data.

  4. postsack

    Visually cluster your emails by sender, domain, and more to identify waste

    I build something to visualize huge amounts of email (such as from Gmail) some years ago:

    https://github.com/terhechte/postsack

  5. gbackup-rs

    Fast and configurable CLI tool to back-up your GMail data - written in Rust

    Would love a comparison to gbackup-rs[0].

    To me having to install a tool through Python is a show-stopper.

    [0] https://github.com/djipko/gbackup-rs

  6. got-your-back

    Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.

    https://github.com/GAM-team/got-your-back

    - Open source

    - Resume (so backups/restores will eventually complete)

    Honorable mention: https://www.mailstore.com/en/products/mailstore-home/

    - Not open source

    - GUI with index: nice for searching mail locally

    - Resume only for backup (so restores generally fail)

  7. mail2db

    A CLI tool that processes Maildir format email directories and stores email metadata in SQLite database.

    having sqlite exporters for platforms is great help for Archiving, but also general questions: I used https://github.com/ltdangle/mail2db to see how much mail volume I still have on a mail account that I want to mostly move away from. A top10 of senders directed my un- and resubscribe actions.

  8. recordlite

    And since view and indexes don't change the data, you can use tools like https://github.com/fsaintjacques/recordlite to automate schema management.

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. email-oauth2-proxy

    An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0 authentication for email clients that don't support this method.

    I built a proxy a while ago to make this easier - it lets you stick with IMAP/POP/SMTP as-is. No need for your client to even know that OAuth exists. See here: https://github.com/simonrob/email-oauth2-proxy

  11. datasette

    An open source multi-tool for exploring and publishing data

    A couple of reasons which pop to mind:

    - Searching a plain text data file is O(n). Searching a SQLite database that has been properly indexed, which is very easy to do nowadays with FTS5, is O(log n) worst case scenario and O(1) in the best case. This doesn't explain why SQLite over a dataframe or anything, but it definitely justifies it over plain text for large email collections.

    - SQLite is really easy to write custom views and programs around. Virtually every major programming language can work with it without issue. See also: simonw's wonderful https://datasette.io/ .

    - SQLite is an accepted archival format by the Library of Congress, if you ever want to go down the rabbit hole of digital preservation.

  12. aox

    Archiveopteryx—An advanced PostgreSQL-based IMAP/POP server

    I am reminded a little of the Postgres-backed IMAP server Archiveopteryx: https://github.com/aox/aox

    The schema from AOX always looked really good to me, but I never have gotten to really giving it a try. I wanted to use it, primarily, to get analytics about my mail and for search (not a daily-driver IMAP server).

  13. gmail-sqlite-db

    Fetch emails into a local SQLite Database

    Funny... I did the same thing yesterday, just because I wanted to list my recipient emails by domain. Code is awful, but here it is: https://github.com/hugoferreira/gmail-sqlite-db

  14. gmvaultdb

    Store emails from a GMvault backup into an sqlite DB and extracts attachments in a dedicated folder

    FWIW, I used gmvault a long time ago (N.B. I typically deactivated individual .eml.gz compression in favor of a more global compression with a squashfs archive of the gmvault backup). Since I found not very practical to search through that archive, I developed https://github.com/karteum/gmvaultdb in order to convert it to a local sqlite DB (it also works with https://takeout.google.com/ with the caveat that in some case Takeout permanently losses some information because of a bug with older encodings so I'd always prefer a backup using gmvault or imap)

  15. ImapSync

    Imapsync is an IMAP transfers tool. The purpose of imapsync is to migrate IMAP accounts or to backup IMAP accounts. IMAP is one of the three current standard protocols to access mailboxes, the two others are POP3 and HTTP with webmails, webmails are often tied to an IMAP server. Upstream website is

  16. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • MailPlus locking up Server

    1 project | /r/synology | 30 May 2023
  • I created a gmvault alternative.

    2 projects | dev.to | 16 Jan 2023
  • What do you use to backup emails, contacts, calendar from online services ((Gmail, Outlook, etc)

    2 projects | /r/selfhosted | 11 Oct 2022
  • Show HN: Read your emails using Red Box (Python)

    1 project | news.ycombinator.com | 5 Oct 2022
  • Click to Gmail in Browser?

    1 project | /r/pop_os | 1 Jun 2022