Extract PDF in an EML file without PDF.CO

Hi :slight_smile:
I have an EML file from which I need to extract a PDF so that I can convert it into text but my first problem is to extract the PDF in the EML file. I’ve seen that PDF.co does this, but it’s a paid service. Is there a solution without using paid modules or best-practices?
Thank you very much

To handle the extraction of PDFs from an EML file using a cost-effective approach, there are a few options available. One option is to utilize the MailParser library, which is a more budget-friendly choice. Another option is to employ Google Cloud Functions to run Python code and invoke it using the HTTP module. This combination allows for efficient handling of the task.

3 Likes

Thanks a lot @Rafael_Sanchez , i’m going to try that :slight_smile:

1 Like