Finished client handler, added new function in database to get a mail's id which is used when a new mail is added and the id is needed by the server to insert it into the map. Also made changes to the server's send mail.