IMAP (short for Internet Message Access Protocol) is an internet protocol that lets you sync your email inbox across multiple devices. Most popular email apps, like Gmail and Outlook, use IMAP servers ...
I've been looking into setting up my own email server, and I've finally got it working - I thought I'd write it all down so if anyone ever wanted to set one up they have this as a reference.