MailSQL
MailSQL is a personal tool that keeps a private copy of its operator's own Gmail mailbox in a PostgreSQL database on the operator's own computer, so the mail can be searched and tidied with SQL.
On top of that copy, a companion tool sorts old mail with a decision model that also runs on that computer. It proposes which messages to keep, archive or move to the trash.
It is not a public service: there are no accounts to sign up for, and it is used only by its author with their own mailbox.
- Access to Gmail uses Google's official API and the
gmail.modifypermission: read, relabel and move to trash. It never deletes mail permanently. - Mail is stored only in the operator's own database and is not sent to anyone else.