Hacker News new | ask | show | jobs
by victorbojica 914 days ago
If you are able to code or can ask someone, then you should be able to do it with some email api service (Nylas, AWS SES, etc) or headless client that gets the body of the email and convert it to pdf using wkhtmltopdf and then send it as attachment using the same service as before.

Using low/no code tools might be very hard/unlikely

1 comments

Thanks, yes I think this is the right direction. Surprised it doesn’t exist as SAAS, I guess demand isn’t there.
I'm pretty sure you can do this with a Office365 & their automation stack Power Automate.

Obviously it's only an option if your org has already sunk deep into Microsoft-of-things (MoT) universe.

If you want the pdf to look anything like the email, you will need to render it in a browser and capture a pdf. It’s not particularly hard if you know what you’re doing.
Any libs to help with that? Thanks.
A headlees browser like e.g. puppeteer would do the job. I use it a lot for exatly that purpous...