Improved email sending to include HTML

-Hasn't fully been tested