email changed variable name from html to body
fixed json export