@YvoValcon
1) I think you may be using the wrong "Current Item" dynamic content. In the dynamic content list, you should see two "Current Items": one listed under Apply to Each and a second under Apply to Each 2.


2) To have the emails sent to the correct address, there are a few different ways we could do it. The simplest would be to have another column in our dataset that contains the email address.
Then we can change our "Append to Company Array" to this:

And our second List Rows to:

Then we can add a "Send Email" like:


Attachment name can be whatever you want it to be.
If you can't add an email column to the dataset, then you'll need to build some kind of lookup table elsewhere that we can reference in the flow. This could be a SharePoint List, another excel file, etc...
We could also potentially use a "Switch" action instead - they're like conditions, but it can do different things based on what matched (aka, if Case matches "XYZ" then we'd hardcode the email to xyz@email.com; if Case matches "ABC", then we'd hardcode the email to abc@email.com. I'd only recommend this if there will only ever be a handful of the companies that never change, otherwise the Flow may become bloated and messy.
3) Is your "Create File" step within the "Apply to Each 2" step? If it's outside, Output won't be available to use.