improve html mail notification layout
Here and in a few other places, missing space after ).
The space after -- wasn't a typo, it must be there.
You removed the link. It should stay there, after body2 now.
Syntax error, missing }. And the space after it is redundant. I think you should run ./phpunit --testsuite=Unit, to see if mail content tests still work.