# MailSQL storage format standard?

**URL:** <https://forum.delta.chat/t/mailsql-storage-format-standard/4120>\
**Category:** Feature Proposal\
**Tags:** open-standards\
**Created:** [September 9, 2025, 11:28pm UTC](https://forum.delta.chat/t/mailsql-storage-format-standard/4120 "2025-09-09T23:28:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [September 9, 2025, 11:28pm UTC](https://forum.delta.chat/t/mailsql-storage-format-standard/4120/1 "2025-09-09T23:28:34Z")

</div>

Mails were once mostly stored as a file in Mbox format, then in a directory tree in Maildir format. Now Deltachat (and [at least one other mail client](https://blogs.gnome.org/jnelson/2015/01/06/sqlite-vacuum-and-auto_vacuum/)) store mails in an SQLite database.

Would a third open-standard mail-storage format be a good idea?

The usual benefits: reduce duplicate work, improve interoperability, make archival storage more reliable, etc..

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [September 10, 2025, 6:13pm UTC](https://forum.delta.chat/t/mailsql-storage-format-standard/4120/2 "2025-09-10T18:13:14Z")

</div>

Delta Chat is not storing raw mails, it only stores decrypted and decoded message parts.

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [September 10, 2025, 8:50pm UTC](https://forum.delta.chat/t/mailsql-storage-format-standard/4120/3 "2025-09-10T20:50:10Z")

</div>

Deltachat stores and displays the decypted body, a timestamp, the sender and the recipient: the bits most people care about. It seems reasonable for a standard to allow dropping the rest.

Though an encrypted database would also be a useful option, and for some purposes you really would want every header saved (presumably with compression, as they can be quite repetitive).

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:18pm UTC](https://forum.delta.chat/t/mailsql-storage-format-standard/4120/4 "2026-10-06T15:18:46Z")

</div>


