I used to think mutt was the best client, but I was always annoyed that the configuration wasn&#x27;t scriptable enough - the support is there to do &quot;lots&quot; but not &quot;everything&quot;.<p>On that basis I wrote a console-based mail-client that is 100% scriptable via Lua, and now I can&#x27;t imagine using anything else:<p><a href="https:&#x2F;&#x2F;lumail.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lumail.org&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;lumail&#x2F;lumail2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lumail&#x2F;lumail2&#x2F;</a>