It is possible to draw up a real contract countersigned by both parties. In any case the e-mail correspondence already has legal value.