Skip to content

Reading mail is not storing mail: MAILKODO's design principle

Yazar OVOKODO Ekibi · · 4 dk okuma

In short: MAILKODO's mail screen reads mail from the mail server on every request, draws it on screen and leaves it there. There is no table for mail in the database, no column for a subject, no file for an attachment; a test fixes this by scanning the whole database. This design strengthens privacy but makes some features, such as grouping conversations across pages, harder.

The difference between "reading mail" and "storing mail"

A mail application can do two jobs. The first is reading mail from the server and showing it to you. The second is keeping a copy of the mail in its own database. Many applications do both; the copy is useful for search and speed but carries a burden: a copy is a target for a data leak and means your mail sits in a second place.

MAILKODO does only the first. Mail stays on the mail server in Mailcow; the application reads and shows it when needed.

How does this work in practice?

When you open a message, the application connects to the server over IMAP, reads the body, header details and attachments and draws them on screen. When the request ends this information leaves the application's memory. In the database only account information remains, such as the existence of your mailbox, its counters and your settings.

This principle is not merely an intention but a promise fixed by a test: a test scans the whole database and verifies that there is no table, column or file for mail content. If the promise changes, the test breaks.

Where is your password?

The mailbox password is shown once and is not stored; the application cannot show it afterwards. For the mail screen to enter the mailbox, a master user mechanism on the server is used: the application reaches the mailbox with this mechanism, not with your password. This is a design choice so that the password is not held in the application; the cost is that the master user credential sits in the server settings.

The gains of this design

  • Less data. There is no second copy of your mail; data that does not exist cannot be leaked.
  • A single truth. The only source of your mail is the server; there can be no inconsistency between application and server.
  • Simple deletion. When you delete the mailbox the mail on the server goes too; no copy is left behind in the application.
  • Auditability. A claim is fixed by a test; code verifies what the document says.

The costs of this design

To be honest:

| Feature | Effect | |---|---| | Conversation grouping across pages | Hard: grouping can be done only within a page | | Very fast full-text search | Depends on the server's search ability | | Offline reading | None: mail is read from the server on every request | | Page speed at high volume | Depends on the server read delay |

We pay these costs deliberately: keeping less data was chosen as a more valuable preference for privacy than some conveniences. That the conversation view exists only within a page is a direct result of this choice, and the product says so openly.

Does "delete" really delete?

In mail, "delete" moves the message to the trash folder. Deleting the mailbox is real: it disappears from the server and the records. You can also delete the account from the panel.

Does this principle apply to other products?

This principle is a design decision specific to MAILKODO. Other products have their own data principles: for example in OVOROOM the ledger is a record of name and time, but not of the content of the meeting. What each product stores and does not store is written on its own page.

Why do we write this?

Because it is easy for a service to say "we do not store your data", and hard to make that testable. MAILKODO's promise is fixed by a test; still, final verification is in your hands: the data on the mail server is where your own mail lives. The details of the principle are in the product's privacy text; if you need a legal assessment, rely on that text and an expert.

Ready? Take a look at MAILKODO.

İlgili yazılar