Rated 5 out of 5 stars

Hola, por algun motivo cuando exporta el CSV este se encuentra siempre vacio ¿cual puede ser mi problema?

This review is for a previous version of the add-on (1.6.0). 

Hello Alejandro ;) 

I've been examining the code to identify potential issues or errors. While I'm still investigating, I've noticed that in certain cases, especially when all options are checked, it's possible that no emails are extracted.

Here are some potentially problematic scenarios:

Combination of options:
When all options are activated (for example: exclude duplicates, export to CSV, include email names), the combination of these filters could over-filter the allEmails array, sometimes resulting in an empty array if all emails are considered duplicates.

Absence of emails in certain fields:
Depending on the selected field (author, replyTo, recipients), some messages may not contain emails in these specific fields, especially if the options are combined in a restrictive manner.

Unexpected header formats:
Some emails may have unexpected or missing header formats, which could prevent the correct extraction of email addresses, particularly when multiple filters are applied simultaneously.

To better pinpoint the issue, I suggest you try extracting 2 or 3 distinctly different emails, just to test the CSV export. This will help us identify whether the problem is related to specific emails or to the export functionality itself.

I'm continuing to investigate. Don't hesitate to contact me if you need more details or if you have any additional questions.
Best regards,
Jennova