[FIX] mail_thread: handle single id argument in unlink() (fixes #1721)