Emails are passed via socket.io to client