setup mongo and capturing emails entered