fix double the mail send while accept or rejecting