Correct email format

Correct the email format, as goutput is table rows now.
Also add a footer to the emails