There are various email synchronization programs like offlineimap or mbsync, which have some inherent limitations:

  • mbsync does not support IMAP IDLE
  • offlineimap does not yet support Python 3, proper IDLE and threading support would need a complete rewrite

Features

  • support only IMAP, no POP3
  • IMAP IDLE support is a must, especially:
    • reconnection of dropped IDLE connections
    • support IDLE for all IMAP folders
  • be able to synchronize IMAP <-> Maildir at first, IMAP <-> IMAP would be nice to have
  • bullet-proof cryptography, especially with respect to certificate validation and resistance to downgrade attacks (preferably make the TLS version configurable)
  • use inotify API to support immediate synchronization back to the server if a message changes locally
  • as simple configuration as possible with good defaults

nice to have:

  • incorporate an API for external tagging tools like notmuch to synchronize tags if the remote supports it
  • GMail support

Implementation

Preferably in Rust, using the imap crate as the core.

Scope

Try to create a MVP, especially flesh out proper testing and learn enough about the problem.

Looking for hackers with the skills:

imap email rust

This project is part of:

Hack Week 18

Activity

  • over 4 years ago: okurz liked this project.
  • over 4 years ago: aspiers liked this project.
  • over 4 years ago: yfjiang liked this project.
  • almost 5 years ago: jbaier_cz liked this project.
  • almost 5 years ago: mbrugger liked this project.
  • almost 5 years ago: dancermak started this project.
  • almost 5 years ago: dancermak added keyword "imap" to this project.
  • almost 5 years ago: dancermak added keyword "email" to this project.
  • almost 5 years ago: dancermak added keyword "rust" to this project.
  • almost 5 years ago: dancermak originated this project.

  • Comments

    • cyphar
      over 4 years ago by cyphar | Reply

      Just one word of warning (I ran into this last time I tried to write an IMAP client in Rust) -- the IMAP crates all appear to be either slightly or completely broken. There are several but they're all forks of one another and the "best looking" one requires tokio.

    Similar Projects

    A Flight Dynamics Library written in Rust with an Entity Component System architecture by vcuadradojuan

    [comment]: # (Please use the project descriptio...


    A set of utilities to produce a "from scratch" OCI/Docker container using Opensuse/SLE rpms by ldragon

    [comment]: # (Please use the project descriptio...


    Waysettings by dspinella

    [comment]: # (Please use the project descriptio...


    toniowm by fabriziosestito

    toniowm is yet another window manager written i...


    Create a new markup language with parser in rust by nkrapp

    Project Description

    Write a parser for my...