I would like to create a web app where you can drag and drop emails from Apple Mail (on macOS).
When I drag emails to the desktop an .eml file is created, but when I drag emails to the browser no file is being transferred, I can only get the mail’s subject like this: event.dataTransfer.getData("text");
So is it possible to drag and drop emails from Apple Mail to browsers? And if yes, then how?
So far I've tried chrome and safari, but neither got any files with the dragged element. On windows with outlook or thunderbird this wasn’t an issue, so I hope it can be done with apple mail as well.
Thanks in advance