Hi , first of all thanks for this work!
I was looking for a way to parse the pre-header that every email has and I noticed this is not supported in go-message por now.
The only way I can parse this is by reading the full body and find the Pre Header comment like shown below
<!-- Pre-header -->
<div style="display: none !important; font-size: 1px; line-height: 1px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; max-height: 0px; max-width: 0px; mso-hide: all !important; opacity: 0; overflow: hidden; visibility: hidden;">
Apartamento T1 à venda na Rua do Thom ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
</div>
<!-- End region Pre-header -->
Hi , first of all thanks for this work! I was looking for a way to parse the pre-header that every email has and I noticed this is not supported in go-message por now. The only way I can parse this is by reading the full body and find the Pre Header comment like shown below
Is there a way to parse this? Using https://pkg.go.dev/google.golang.org/api/gmail/v1 you can extract the message.Snippet that corresponds to this