Append message instead of reassigning it
Correct url in subject of email
Added email formatting
Added Content-type header