mail handler

fixed the client side I/O verification