If an email from a thread was move to the trash folder we probably would want that email to no longer show up as part of the thread.
We thus have to exclude mails in the trash folder from all threading queries.
Perhaps we need a "mark as deleted" flag to do that efficiently?