[FIX] mail_thread: fixed duplicate emails when replying to an incoming email.