expanded server functionality, passing a JSON object literally via mail API