This is on the path to make the UI more simple and move email parsing to server side.
Move to shared definition of json requests between client/server.