nylas / sync-engine

:incoming_envelope: IMAP/SMTP sync system with modern APIs
https://nylas.com/docs/platform
GNU Affero General Public License v3.0
3.5k stars 354 forks source link

Provide way to access ALL message headers #239

Open mccolin opened 8 years ago

mccolin commented 8 years ago

Currently the only way to pull all of the headers for a given email message is to download the entire RFC-2822 formatted message and parse the contents entirely separate of Nylas.

We'd like to be able to access ALL headers, in addition to Message-Id, References, and In-Reply-To, via both the expanded view of the message and the expanded view delta+stream.

raindrift commented 8 years ago

+1 Being able to receive the full headers without having to also pull down the message content would be huge. The message metadata is immensely valuable, and the content is often a lot of extra stuff to transfer. Having the headers available in the delta stream would be even better, since then we wouldn't need a separate api request to fetch them.

sergeyklay commented 8 years ago

:+1:

grinich commented 8 years ago

I believe the expanded message endpoint currently gives you Message-Id, References, and In-Reply-To. We'll look into adding more in the future. Currently they're not parsed-out so this request would be super super slow.

kilimchoi commented 8 years ago

👍 Personally, I'd like to see X-Failed-Recipients, Return-Path

ghost commented 2 years ago

This is such an important information. plus 1