is there any modern webmail client where i can access my own emails that is recent, maintained and has good search functionality (preferably with elasticsearch)?
Currently in active (crowdfunded) development, but I would recommend www.mailpile.is once it's more stable. Crypto, security, privacy and everything that gmail does.
The question and the information provided do not sync with each other.<p>Saying you want a "self-host" email and then asking for an email client is two different things. Although sometimes they come bundled together, what you are looking for is either an email server or a webmail client or both.<p>server: Postfix or equivalent (setup to send and receive)
client: roundcube, squirrel, etc.
You could take a look at Roundcube webmail: <a href="http://roundcube.net/" rel="nofollow">http://roundcube.net/</a><p>You might find this useful as well:
<a href="https://en.wikipedia.org/wiki/Comparison_of_e-mail_clients" rel="nofollow">https://en.wikipedia.org/wiki/Comparison_of_e-mail_clients</a>