Hey all,

I’m going to be moving on to my next project and have been thinking about doing an email client. I like Thunderbird, but the search is terrible, and I also want to tackle something that needs pretty high performance for processing emails etc.

Any suggestions or considerations I should think about?

I’ll focus on just getting SMTP going in a CLI then I’ll introduce some sort of frontend using Qt.

  • Matty_r@programming.devOP
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 months ago

    No offense taken. But I’ve made no assumptions on the simplicity, and I know its a big task and want to start small. I don’t mean to compete with Thunderbird, just I like it.

    I think it would be a great exercise in learning the protocol and message handling.

    • teotwaki@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      Okay, fairy nuff.

      In that case, I would probably start with writing an SMTP or IMAP proxy first. It will teach you everything you need to know about the protocols, and you can reverse engineer the protocols using a client that already works.

      It would give you a tangible project outline, which I believe is often critical to not lose motivation or interest.

      If you accept using libraries, there’s the imap crate, the mail_send crate, and samotoo crate that are worth looking at.