Revert "various tweaks to try for MIME compliance"

This reverts commit c4a8b4845ea0900dc7f85aa96a804678577c257b.
Revert "Initial muiltipart html email for alerts"

This reverts commit 483a4261af86ed1cc0b525e10a017d1d1b582d4b.
Renamed some variables, for clarity
more variable renaming and change from # to // for comments
FIXED - I missed a varible rename in the previous commit
CHANGE - I had to change the date limit to get any test results

Tested works ok
Some precursory work, splitting and storing the search result part, so they can be used to fabricate the email.