Mutt is a widely used text-based email client for Unix-like systems.
sudo apt-get install mutt
Create the directories mutt needs to cache message headers and bodies, and store certificates.
mkdir -p ~/.mutt/cache/headers && mkdir ~/.mutt/cache/bodies && touch ~/.mutt/certificates
Check out my muttrc file. I was getting the error “Server does not support TLS via the STARTTLS command” and “SMTP server does not support authentication” so I changed port 587 to smtps port 465.
Most linux developers use mutt to send patches to mailing lists and maintainers. A thorough guide to send patches using mutt is here
Create a patch to send with mutt
git format-patch -s -o /tmp/ HEAD^
Send the patch with mutt
mutt -H /tmp/0001-<name_of_the_patch>