solve the removeMail problem dirtily