Currently what I can see is we have a method defined for saving email type attachments by using
message.attachments.save_as_eml(attachment)
But there is no method defined for just reading the content. In my case I want to read the content of the .eml type attachment and store it as bytes for further processing.
Please let me know if there is already a possible way to read those attachments.
I've raised a PR to resolve this. Can you please review and add comments if you find anything to be modified. This is really important for our project.
Currently what I can see is we have a method defined for saving email type attachments by using
message.attachments.save_as_eml(attachment)
But there is no method defined for just reading the content. In my case I want to read the content of the .eml type attachment and store it as bytes for further processing.Please let me know if there is already a possible way to read those attachments.