query ShowThreadQuery($threadId: String!) {
  thread(threadId: $threadId) {
    __typename ... on NewsPost{
      threadId
      isRead
      slug
      site
      title
      body
      url
      timestamp
      # TODO: unread
    }
    __typename ... on EmailThread{
      threadId,
      subject
      messages {
        id
        subject
        tags
        from {
          name
          addr
          photoUrl
        }
        to {
          name
          addr
        }
        cc {
          name
          addr
        }
        xOriginalTo {
          name
          addr
        }
        deliveredTo {
          name
          addr
        }
        timestamp
        body {
          __typename
          ... on UnhandledContentType {
            contents
            contentTree
          }
          ... on PlainText {
            contents
            contentTree
          }
          ... on Html {
            contents
            contentTree
          }
        }
        path
        attachments {
          id
          idx
          filename
          contentType
          contentId
          size
        }
      }
    }
  }
  tags {
    name
    bgColor
    fgColor
    unread
  }
  version
}
