Fixed how the emails were being sent (smtp vs sendmail). big oops