Added a thread class so the server can accept multiple email clients