Writing an email client and storing it I SQLite seems easier today than ever before. The challenge seems to more on the side of idiosyncrasies of getting other servers to give yours authority. Very interesting!
I actually decided to take a look at the project this morning. It still builds on OS X 10.13! I used QT for the UI and all underlying code is portable as well on POSIX systems.