Add post and get data to email and format code
We should be returning the output of var_export, not echoing it