Hello.
Kmail has this nice feature of supporting submitting mail via a custom sendmail command.
What this allows in particular, is being able to specify a custom script, that SSH'es onto a server, and invokes the sendmail command there. This isn't going to be too generally useful, but it is useful on custom mail servers. The benefit is that SMTP is not open to the internet, only SSH is. This limits the attack surface.
It would be pretty nice if Thunderbird could support this functionality too.