How to send HTML message from the linux command line

echo “YAY HTML Works” | mail -s “$(echo -e “Subject Goes HerenContent-Type: text/html”)” to@yourmum.com