Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Expose Message-ID and threading headers in message JSON

Đang mở
#558 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
api, cli

Hướng nghiên cứu

Start with the hey thread read --json output and the SDK's GetMessage to see which message fields are currently returned. First check whether the HEY API response includes Message-ID, In-Reply-To or References at all, since that decides whether this is a model and JSON change or needs raw source access. Done means the chosen fields (or the raw source) appear in the JSON output for a message, confirmed against version 1.8.0. The issue leaves open which of the two approaches to take, so confirm that with a maintainer first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

hey thread read --json and the SDK’s GetMessage currently return HEY’s internal IDs, but not the email headers Message-ID, In-Reply-To, or References. I also couldn’t find a way to retrieve the raw message source.

I’m migrating to HEY and collecting mail from several external addresses, so the same email can appear in more than one mailbox. Without the original Message-ID, I have to match those copies by sender, subject, and timestamp, which isn’t reliable. The threading headers would also help reconstruct conversations that started outside HEY.

Could the message model and JSON output expose these fields where available?

  • message_id
  • in_reply_to
  • references

Alternatively, access to the raw message source would let me extract the headers myself.

Tested with version 1.8.0.

Related: #468, which covers outgoing mail only.

Ngôn ngữ chính
Go
Star
412
Fork
52
Merge trung bình
22 giờ 16 phút
Pull request đã merge (30 ngày)
75

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của basecamp/hey-cli

Tất cả issue của basecamp/hey-cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.