Hacker News new | ask | show | jobs
by stevekemp 3350 days ago
I wrote a mail-client, mine is console based with lua-scripting. I figured, when I started, that the task was simple, there are MIME-libraries, etc, out there, so to create a simple mail-client I only had to write three things:

* A view of all maildirs/folders.

* An index-view to show the contents of a maildir/folder.

* A view of a single message.

How naive I was. Broken email is everywhere. Things like IMAP support, GPG-support, and similar took months to get done. That moment when you're checking email in your spam-folder and your mail-client crashes? That happened far too often.

Writing a mail client isn't hard, but it is fiddly, and you don't realize it until you think you're done. (UTF-handling, malformed MIME-messages, etc etc.)

In the most sincere way possible: good luck!