I believe the reason for the blank page is that the file is kept in an external storage like s3, and the request is not initiated for downloading the file when clicking on the mail. But I might be wrong.. Try the above.
@Nakov
I noticed something weird: I brought the code back to :
return Response::make(Storage::disk('s3')->get($path), '200', $headers);
And then from my mail client I click the download button. It opens a new tab with Untitled page (about:blank as url) . Then I just switch back to my mail tab, and switch back to the Untitled tab and instead of Untitled i now see the correct link
Update: the dd just outputs the file contents in the browser
Update: So after the "Untitled" page opens, if I click "refresh" then it downloads the file and closes the tab.. something is holding the page waiting for some refresh
@cooperino try it with the response()->download() or the Storage::download too. Those are my last comments on this thread, I cannot test it, so I don't know what is going on there.