mail command in Linux - send email in cli

echo "Message Body" | mail -s "Message Subject" target@email.tld
If mail command is not found in Debian/Ubuntu:
apt-get install mailutils