5 minutes how-to: Sending emails from CLI with Gmail (using mutt)
Don’t bother configuring postfix or sendmail, openssl related stuff and so on when you are in the need of a quick way to send e-mail from CLI ie. for your administrative scripts.