added totals to the output and I have the email and the output a little bit opgeleukt.