Add data json to mailer controller