A python script running on my computer watches the download folder, cuts the downloaded html file (using regex to match the file name), then pastes it on my pCloud public folder, which has a fixed url I know and can reconstruct with the file name.
I embed() the url of the html file on my doc and voilà ! I have the preview of the html email
Once the embed with the correct target URL is set up, it takes one click to have the updated email preview, but this is not clean nor scalable, and cannot be completed without a python script running and access to my pCloud account… so it’s somewhat garbage !
I tried to look into building a pack to connect to the pCloud API, but I got out of my depth, it didn’t yield any result and I moved on.
If you have any ideas on what’s the right way of doing this exactly, I’d be glad to read them
Thanks in advance !
Alright, after some testing, both of those approach are a bit jenky for my use. I’ll just settle with having a button to copy the html data to the clipboard and open JSbin in a new window then paste it there.