Fixed a lot of little stuff. PDF created on each email recieved.