If you don't mind windows, I can recommend smatermail. It does everything in a single package (smtp, imap, webmail). There is a free tier. There are also additional paid features, I pay for ActiveSync, mostly for the ease to configure a client to set up everything (contacts, calendar, emails). Plus they have a rest api so you can automate certain things.