get the output into the email