-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not seeing any text/html parts in fetched messages #89
Comments
I'm also seeing this, using the latest version (installed using the "manual" install instructions). Possibly related,
|
have you guys found any solution on attachment downloading ? no matter what I have tried I am always getting
|
I'm fetching emails from Gmail, using Postal.
I fetch the last 100 emails, with all flags (
[.structure, .size, .flags, .headers, .gmailLabels, .gmailThreadID, .gmailMessageID, .body, .fullHeaders, .headerSubject]
), and then iterate over each fetch result'sbody.allParts
and fetch the attachments for each part.When I do this, I don't ever see any text/html parts, only ever text/plain, but when viewing the raw source of the mail on Gmail, it shows there is a text/html and a text/plain.
My code looks like so:
An example of the log when I'm testing this is as follows:
But when I check the source of the email via the Gmail website it shows two parts of the email, one text/plain, which is the plain text encoded as bas64, and the other text/html, but the html part does not appear in the parts in the Postal response.
The text was updated successfully, but these errors were encountered: