Added a readme for the email script
Emails aren't marked as sent or failed if in debug mode
Made some cosmetic changes